Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Inlet<In>

Inlet of a node that supports pulling and events.

Type parameters

Hierarchy

  • Inlet

Implemented by

Index

Methods

Methods

emit

on

  • on(name: "push", listener: (frame: In, options?: PushOptions) => void | Promise<void>): Inlet<In>
  • Event when a data frame is push to the node

    Parameters

    • name: "push"

      receive

    • listener: (frame: In, options?: PushOptions) => void | Promise<void>

      Event callback

        • (frame: In, options?: PushOptions): void | Promise<void>
        • Parameters

          Returns void | Promise<void>

    Returns Inlet<In>

pull