Event
| Node | Description | Inputs | Outputs |
|---|---|---|---|
| emit | Emits an event to the bus with a payload and routing strategy. | channel Text, payload Any, routing Text, graph_pattern Text, data_type Text | payload Any |
| handler | Event handler subgraph. Contains nodes that only evaluate when an event fires on the specified channel. Drill in to define the handler logic. | channel Text, auto_listen Boolean, priority Number | result Any |
| listen | Listens for events on a channel and outputs the received payload. | channel Text, auto_listen Boolean, priority Number | payload Any |
emit
Emits an event to the bus with a payload and routing strategy.
Inputs:
channel(Text) — event channel namepayload(Any) — data to emitrouting(Text) — routing strategy (Any, All, Oldest, Youngest, Priority)graph_pattern(Text) — glob pattern for target graph namesdata_type(Text) — optional type hint for the payload
Output: payload (Any) — pass-through of the input payload
See also: listen
handler
Event handler subgraph. Contains nodes that only evaluate when an event fires on the specified channel. Drill in to define the handler logic.
Inputs:
channel(Text) — channel to listen onauto_listen(Boolean) — activate on graph loadpriority(Number) — priority for Priority routing (higher = first)
Output: result (Any) — handler output (from group/output inside the handler)
listen
Listens for events on a channel and outputs the received payload.
Inputs:
channel(Text) — channel to subscribe toauto_listen(Boolean) — activate on graph loadpriority(Number) — priority for Priority routing (higher = first)
Output: payload (Any) — received event data
See also: emit