Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AbstractMapOutlet<K, V, O>

Type parameters

  • K

  • V

  • O

Hierarchy

Implements

Index

Constructors

constructor

Methods

bindOutput

  • bindOutput(output: Inlet<O>): void

decohereInput

  • decohereInput(): void

decohereInputKey

  • decohereInputKey(key: K, effect: KeyEffect): void

Protected didDecohereInput

  • didDecohereInput(): void

Protected didDecohereInputKey

  • didDecohereInputKey(key: K, effect: KeyEffect): void

Protected didRecohereInput

  • didRecohereInput(version: number): void

Protected didRecohereInputKey

  • didRecohereInputKey(key: K, effect: KeyEffect, version: number): void

disconnectInputs

  • disconnectInputs(): void

disconnectOutputs

  • disconnectOutputs(): void

filter

  • Parameters

    Returns MapOutlet<K, V, Map<K, V>>

Abstract get

  • get(): undefined | O
  • get(key: K): undefined | V

Abstract has

  • has(key: K): boolean

Abstract keyIterator

map

  • Type parameters

    • O2

    Parameters

    Returns Outlet<O2>

  • Type parameters

    • V2

    Parameters

    Returns MapOutlet<K, V2, Map<K, V2>>

memoize

  • Returns MapOutlet<K, V, O>

Protected onDecohereInput

  • onDecohereInput(): void

Protected onDecohereInputKey

  • onDecohereInputKey(key: K, effect: KeyEffect): void

Protected onRecohereInput

  • onRecohereInput(version: number): void

Protected onRecohereInputKey

  • onRecohereInputKey(key: K, effect: KeyEffect, version: number): void

outlet

outputIterator

recohereInput

  • recohereInput(version: number): void

recohereInputKey

  • recohereInputKey(key: K, version: number): void

reduce

  • reduce<U>(identity: U, accumulator: (result: U, element: V) => U, combiner: (result: U, result2: U) => U): Outlet<U>
  • Type parameters

    • U

    Parameters

    • identity: U
    • accumulator: (result: U, element: V) => U
        • (result: U, element: V): U
        • Parameters

          • result: U
          • element: V

          Returns U

    • combiner: (result: U, result2: U) => U
        • (result: U, result2: U): U
        • Parameters

          • result: U
          • result2: U

          Returns U

    Returns Outlet<U>

unbindOutput

  • unbindOutput(output: Inlet<O>): void

unbindOutputs

  • unbindOutputs(): void

watch

  • Parameters

    Returns AbstractMapOutlet<K, V, O>

  • Parameters

    Returns AbstractMapOutlet<K, V, O>

Protected willDecohereInput

  • willDecohereInput(): void

Protected willDecohereInputKey

  • willDecohereInputKey(key: K, effect: KeyEffect): void

Protected willRecohereInput

  • willRecohereInput(version: number): void

Protected willRecohereInputKey

  • willRecohereInputKey(key: K, effect: KeyEffect, version: number): void

Generated using TypeDoc