Skip to content

Interface: HarnessSignalNotification<TPayload> ​

Defined in: ast/harness-node.ts:21

Root-level signal notification rule routing an emitted SignalNode to a HumanNode channel.

Formats emitted signal payloads via messageMapper and dispatches a one-way notification to human.channel without suspending the emitting flow or actor.

Type Parameters ​

Type ParameterDefault typeDescription
TPayloadunknownSignal payload type.

Properties ​

PropertyModifierTypeDescriptionDefined in
humanreadonly| HumanNode<"bidirectional"> | HumanNode<"notify-only"> | HumanNode<"bidirectional" | "notify-only">Human authority or notification channel receiving the formatted message.ast/harness-node.ts:25
messageMapperreadonlyBivariantCallback<[payload: TPayload], string>Synchronous formatter projecting TPayload into a notification message string.ast/harness-node.ts:27
signalreadonlySignalNode<TPayload>Target SignalNode triggering the outbound human notification.ast/harness-node.ts:23

Released under the MIT License.