Skip to content

Graphorin API reference v0.8.0


Graphorin API reference / @graphorin/core / / AwaitExternalOptions

Interface: AwaitExternalOptions<TResume>

Defined in: packages/core/src/channels/durable.ts:176

Options for awaitExternal.

Stable

Type Parameters

Type Parameter
TResume

Properties

PropertyModifierTypeDescriptionDefined in
schema?readonlyPayloadSchemaLike<TResume>Validates the resolved payload at the replay delivery point. On failure the engine restores the suspension (the thread stays suspended, the invalid value is discarded) and the resolver gets a typed awakeable-payload-invalid error. The parsed (possibly transformed) value is what the node receives.packages/core/src/channels/durable.ts:184