Skip to content

@oona/vlo / host / ApplyTransitionOptions

Interface: ApplyTransitionOptions ​

Defined in: sdk/ts/sdk/src/journal/types.ts:243

Host-side decisions applyTransition needs on top of the kernel's write-set.

Properties ​

bundleDigest? ​

optional bundleDigest?: string

Defined in: sdk/ts/sdk/src/journal/types.ts:251

Defaults to the run's component_digest.


childRuns? ​

optional childRuns?: NewRunRow[]

Defined in: sdk/ts/sdk/src/journal/types.ts:253

Child runs the host derived from transition.spawns; journals never interpret commands.


nowMs ​

nowMs: number

Defined in: sdk/ts/sdk/src/journal/types.ts:245

Timestamp for every row written, epoch milliseconds.


outputRef? ​

optional outputRef?: string

Defined in: sdk/ts/sdk/src/journal/types.ts:249

Set when the completion output was offloaded; stores output_ref.


stateRef? ​

optional stateRef?: string

Defined in: sdk/ts/sdk/src/journal/types.ts:247

Set when the user state was offloaded to the blob store; stores state_ref.


successorRun? ​

optional successorRun?: NewRunRow

Defined in: sdk/ts/sdk/src/journal/types.ts:259

The successor the host derived from transition.continue_as_new. Inserted as a created row and linked back by setting continued_to on the run being closed, in the same transaction.