QvacProviderOptions
@totemsdk/qvac / QvacProviderOptions
Interface: QvacProviderOptions
Options for the QVAC intelligence adapter.
Properties
defaultTimeoutMs?
readonlyoptionaldefaultTimeoutMs?:number
Timeout for individual operations (ms). Default: none.
lazyConnect?
readonlyoptionallazyConnect?:boolean
Auto-connect semantics — defaults to true (no-op for local SDK).
onLog?
readonlyoptionalonLog?: (level,message,context?) =>void
Logger hook receiving operational diagnostics.
Parameters
level
string
message
string
context?
unknown
Returns
void
resolveOp?
readonlyoptionalresolveOp?:QvacOpResolver
Override the default op resolver.
sdk?
readonlyoptionalsdk?:QvacSdkLike
QVAC SDK (or structural equivalent) to wrap. Optional — see sdkLoader.
Most consumers can skip this and supply sdkLoader, or install
@qvac/sdk and rely on the lazy default load.
sdkLoader?
readonlyoptionalsdkLoader?: () =>QvacSdkLike|Promise<QvacSdkLike>
Async SDK loader, used when sdk is not provided. The idiomatic form is
() => import('@qvac/sdk'). If neither sdk nor sdkLoader is given,
the provider attempts require('@qvac/sdk') lazily at first use and
returns UNAVAILABLE when the package is not installed.
Injection via sdk/sdkLoader keeps the adapter testable and lets
runtimes supply a custom surface without the heavy native dependency tree.
Returns
QvacSdkLike | Promise<QvacSdkLike>
usageExtractor?
readonlyoptionalusageExtractor?:QvacUsageExtractor
Override the DSL op→usage mapping used by the provider.