@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?
readonlyoptionalhash?:string
Defined in: sdk/ts/sdk/src/host/context.ts:59
Content hash of the signal definition; the registry version.
jsonSchema?
readonlyoptionaljsonSchema?: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
readonlyname:string
Defined in: sdk/ts/sdk/src/host/context.ts:55
Signal name, as the workflow waits for it.
schema
readonlyschema:Validator
Defined in: sdk/ts/sdk/src/host/context.ts:57
Validates a payload before delivery; a failure is a BadRequest.