Skip to content

@oona/vlo / host / SignalRegistration

Interface: SignalRegistration ​

Defined in: sdk/ts/sdk/src/host/context.ts:53

A signal as the host knows it: a name and a validator for incoming payloads.

Properties ​

hash? ​

readonly optional hash?: string

Defined in: sdk/ts/sdk/src/host/context.ts:59

Content hash of the signal definition; the registry version.


jsonSchema? ​

readonly optional jsonSchema?: unknown

Defined in: sdk/ts/sdk/src/host/context.ts:61

JSON Schema of the payload, written to the registry on boot when hash is also present.


name ​

readonly name: string

Defined in: sdk/ts/sdk/src/host/context.ts:55

Signal name, as the workflow waits for it.


schema ​

readonly schema: Validator

Defined in: sdk/ts/sdk/src/host/context.ts:57

Validates a payload before delivery; a failure is a BadRequest.