getOperationId
Gets the operationId of the current flow.
Last updated
Gets the operationId of the current flow.
Returns the operation identifier generated by the SDK in the current flow.
await provider.getOperationId();Allows you to read the operationId from JavaScript once the SDK has generated it.
The method is asynchronous; use await or .then(). You can also receive the value through the event emitOperationId.
<facephi-sdk-provider apikey={process.env.FACEPHI_SDK_APIKEY} />
const operationId = await provider.getOperationId();Last updated