interface Inlet<In> { get inletNode(): GraphNode<any, In>; emit(name,
arg): boolean; emit(name,
event): boolean; emit(name,
event): boolean; on(name,
listener): this; pull(options?): Promise<void>; } Accessors
inletNode
- get inletNode(): GraphNode<any, In>
Returns GraphNode<any, In>
Methods
emit
- emit(name, arg): boolean
Returns boolean
- emit(name, event): boolean
Returns boolean
- emit(name, event): boolean
Returns boolean
on
- on(name, listener): this
Parameters
- name: "push"
- listener: ((frame, options?) => void | Promise<void>)
- (frame, options?): void | Promise<void>
Returns void | Promise<void>
Returns this
pull
- pull(options?): Promise<void>
Returns Promise<void>
Pull promise
Inlet of a node that supports pulling and events.