Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AbstractStreamlet<I, O>

Type parameters

  • I = unknown

  • O = I

Hierarchy

  • AbstractStreamlet

Implements

Index

Constructors

constructor

Properties

Readonly streamletContext

streamletContext: null | StreamletContext

Readonly streamletScope

streamletScope: null | StreamletScope<O>

Readonly version

version: number
internal

Methods

bindInput

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

decohere

  • decohere(): void

Protected didDecohere

  • didDecohere(): void

didDecohereInlet

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

didDecohereOutlet

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

Protected didRecohere

  • didRecohere(version: number): void

didRecohereInlet

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

didRecohereOutlet

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

disconnectInputs

  • disconnectInputs(): void

disconnectOutputs

  • disconnectOutputs(): void

getInput

  • getInput<I2>(inlet: string | Inlet<I2>): undefined | I2
  • getInput<I2, E>(inlet: string | Inlet<I2>, orElse: E): I2 | E

getOutput

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

inlet

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

inoutlet

Protected onDecohere

  • onDecohere(): void

Protected onDecohereOutlets

  • onDecohereOutlets(): void

Protected onRecohere

  • onRecohere(version: number): void

Protected onRecohereInlets

  • onRecohereInlets(version: number): void

Protected onRecohereOutlets

  • onRecohereOutlets(version: number): void

outlet

recohere

  • recohere(version: number): void

setStreamletContext

setStreamletScope

unbindInput

  • unbindInput(key: string): void

Protected willDecohere

  • willDecohere(): void

willDecohereInlet

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

willDecohereOutlet

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

Protected willRecohere

  • willRecohere(version: number): void

willRecohereInlet

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

willRecohereOutlet

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

Static decohereOutlets

Static decorateInlet

Static decorateInoutlet

Static decorateOutlet

Static disconnectInputs

Static disconnectOutputs

Static init

Static recohereInlets

Static recohereOutlets

Static reflectEachInlet

  • reflectEachInlet<I, O, T>(streamlet: Streamlet<I, O>, streamletPrototype: null | StreamletPrototype, callback: (inlet: Inlet<I>, name: string, index: number) => void | T): undefined | T
  • reflectEachInlet<I, O, T, S>(streamlet: Streamlet<I, O>, streamletPrototype: null | StreamletPrototype, callback: (inlet: Inlet<I>, name: string, index: number) => void | T, thisArg: S): undefined | T

Static reflectEachOutlet

  • reflectEachOutlet<I, O, T>(streamlet: Streamlet<I, O>, streamletPrototype: null | StreamletPrototype, callback: (outlet: Outlet<O>, name: string, index: number) => void | T): undefined | T
  • reflectEachOutlet<I, O, T, S>(streamlet: Streamlet<I, O>, streamletPrototype: null | StreamletPrototype, callback: (outlet: Outlet<O>, name: string, index: number) => void | T, thisArg: S): undefined | T

Static reflectInletCount

Static reflectInletField

Static reflectInletIndex

Static reflectInletKey

Static reflectInoutletField

  • reflectInoutletField<I, O>(streamlet: Streamlet<I, O>, inoutletDescriptor: InoutletDescriptor): Inoutlet<I, O>

Static reflectMapInletField

  • reflectMapInletField<I, O>(streamlet: Streamlet<I, O>, key: string): Inlet<I>

Static reflectMapInoutletField

  • reflectMapInoutletField<I, O>(streamlet: Streamlet<I, O>, key: string): Inoutlet<I, O>

Static reflectMapOutletField

  • reflectMapOutletField<I, O>(streamlet: Streamlet<I, O>, key: string): Outlet<O>

Static reflectOutletCount

Static reflectOutletField

Static reflectOutletIndex

Static reflectOutletKey

Static reflectValueInletField

  • reflectValueInletField<I, O>(streamlet: Streamlet<I, O>, key: string): Inlet<I>

Static reflectValueInoutletField

  • reflectValueInoutletField<I, O>(streamlet: Streamlet<I, O>, key: string): Inoutlet<I, O>

Static reflectValueOutletField

  • reflectValueOutletField<I, O>(streamlet: Streamlet<I, O>, key: string): Outlet<O>

Generated using TypeDoc