Function: leafEvents()
leafEvents<
I,O>(parts):LeafEvents<I,O>
Defined in: packages/core/src/core/stream-hub.ts:165
The event side and lifecycle of a leaf Processable from the one function
that does its work: process() forwards each event run emits to the
call's onToken and to subscribers, subscribeToAll() sorts events into
the categorized callbacks, and stream() turns process() into an async
iterator.
Type Parameters
I
I
O
O
Parameters
parts
LeafEventParts<I, O>
Returns
LeafEvents<I, O>