interface Outlet<Out> { get outletNode(): GraphNode<Out, any>; on(name,
listener): this; push(data,
options?): Promise<void>; } Accessors
outletNode
- get outletNode(): GraphNode<Out, any>
Returns GraphNode<Out, any>
Methods
on
- on(name, listener): this
Parameters
- name: "pull"
- listener: ((options?) => void | Promise<void>)
- (options?): void | Promise<void>
Returns void | Promise<void>
Returns this
push
- push(data, options?): Promise<void>
Returns Promise<void>
Push promise
Outlet of a node that supports push events and pull listening.