Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Outlet<Out>

Outlet of a node that supports push events and pull listening.

Type parameters

Hierarchy

  • Outlet

Implemented by

Index

Methods

Methods

on

  • on(name: "pull", listener: (options?: PullOptions) => void | Promise<void>): Outlet<Out>

push

  • push(data: Out | Out[], options?: PushOptions): Promise<void>
  • Push data to the outlet

    Parameters

    • data: Out | Out[]

      Data frame to push

    • Optional options: PushOptions

    Returns Promise<void>

    Push promise