emitOperationId
Emits the operationId when it is generated.
Last updated
Emits the operationId when it is generated.
Notifies the operation identifier as soon as it is created.
Event: emitOperationId
Type: FacephiSdkProviderCustomEvent<string> | CustomEvent<string>
provider.addEventListener('emitOperationId', onEmitOperationId);detail: stringUseful for linking the SDK operation with your backend.
<facephi-sdk-provider
apikey={process.env.FACEPHI_SDK_APIKEY}
onEmitOperationId={onEmitOperationId}
/>Last updated