Dispose the native DaVinci instance and release runtime state.
Promise resolved when disposal completes.
Returns the native DaVinci instance identifier.
The internal DaVinci instance id.
Log out the active user and clear the session.
Promise resolved when logout completes.
Advance the active DaVinci flow by applying collector values.
Key-indexed collector values to apply before advancing.
Next flow node.
Streams PollingStatus updates for the active PollingCollector
on the current node.
Callback invoked with each streamed PollingStatus tick.
Optionaloptions: DaVinciPollStatusOptionsOptional collector selection (key), when more than one
PollingCollector is present on the active node.
An unsubscribe function that stops local event delivery. It does not stop the native poll, which cannot be cancelled.
Does not auto-advance the flow — the consumer must call next()
explicitly on any terminal status (complete, timedOut, expired,
error) to progress past it. The returned unsubscribe function stops
local event delivery only — neither native SDK exposes a primitive to
cancel an in-flight poll, so the native poll keeps running to completion
(bounded by pollRetries × pollInterval) even after unsubscribing.
Refresh the active user session tokens.
Refreshed session payload, or null when no active session exists.
Revoke the active user access/refresh tokens.
true when revocation completes.
Start the DaVinci flow.
The first flow node.
Resolve the active user session.
Session payload, or null when no active session exists.
Resolve userinfo claims for the active session.
Userinfo payload, or null when no active session exists.
DaVinci imperative client API contract.
Remarks
Obtain an instance via createDaVinciClient.
Example