Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GenericStreamlet<I, O>

Type parameters

  • I = unknown

  • O = I

Hierarchy

Implemented by

Index

Properties

Readonly streamletContext

streamletContext: null | StreamletContext

Readonly streamletScope

streamletScope: null | StreamletScope<O>

Methods

bindInput

  • bindInput(key: string, input: Outlet<I>): void
  • Parameters

    • key: string
    • input: Outlet<I>

    Returns void

decohere

  • decohere(): void
  • Returns void

didDecohereInlet

  • didDecohereInlet(inlet: Inlet<I>): void
  • Parameters

    Returns void

didDecohereOutlet

  • didDecohereOutlet(outlet: Outlet<O>): void
  • Parameters

    Returns void

didRecohereInlet

  • didRecohereInlet(inlet: Inlet<I>, version: number): void
  • Parameters

    • inlet: Inlet<I>
    • version: number

    Returns void

didRecohereOutlet

  • didRecohereOutlet(outlet: Outlet<O>, version: number): void
  • Parameters

    • outlet: Outlet<O>
    • version: number

    Returns void

disconnectInputs

  • disconnectInputs(): void
  • Returns void

disconnectOutputs

  • disconnectOutputs(): void
  • Returns void

getOutput

  • getOutput(outlet: Outlet<O>): undefined | O
  • Parameters

    Returns undefined | O

inlet

  • inlet(key: string): null | Inlet<I>
  • Parameters

    • key: string

    Returns null | Inlet<I>

outlet

  • outlet(key: string): null | Outlet<O>
  • Parameters

    • key: string

    Returns null | Outlet<O>

recohere

  • recohere(version: number): void
  • Parameters

    • version: number

    Returns void

setStreamletContext

  • Parameters

    Returns void

setStreamletScope

  • Parameters

    Returns void

unbindInput

  • unbindInput(key: string): void
  • Parameters

    • key: string

    Returns void

willDecohereInlet

  • willDecohereInlet(inlet: Inlet<I>): void
  • Parameters

    Returns void

willDecohereOutlet

  • willDecohereOutlet(outlet: Outlet<O>): void
  • Parameters

    Returns void

willRecohereInlet

  • willRecohereInlet(inlet: Inlet<I>, version: number): void
  • Parameters

    • inlet: Inlet<I>
    • version: number

    Returns void

willRecohereOutlet

  • willRecohereOutlet(outlet: Outlet<O>, version: number): void
  • Parameters

    • outlet: Outlet<O>
    • version: number

    Returns void

Generated using TypeDoc