Skip to main content
Import from @larkxai/react-native.

sqlite(path?)

Returns the storage object createRuntime expects. Omit path to use larkx.db in the application document directory. The runtime does not delete an existing database.

createRuntime(options)

Opens the native session. Resolves to a Runtime. Throws if LarkXNativeCore is not in the binary.

Methods

RunStatus includes runId, status, workflowName, workflowVersion, cancelRequested, ownershipEpoch, ownerId, and blockedReason.