Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MapOutlet<K, V, O>

Type parameters

  • K

  • V

  • O

Hierarchy

Index

Methods

bindOutput

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

    Returns void

decohereInput

  • decohereInput(): void
  • Returns void

decohereInputKey

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

    Returns void

disconnectInputs

  • disconnectInputs(): void
  • Returns void

disconnectOutputs

  • disconnectOutputs(): void
  • Returns void

filter

  • Parameters

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

get

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

  • Parameters

    • key: K

    Returns undefined | V

has

  • has(key: K): boolean
  • Parameters

    • key: K

    Returns boolean

keyIterator

  • Returns Iterator<K>

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>

outlet

  • Parameters

    • key: K

    Returns Outlet<V>

outputIterator

  • Returns Iterator<Inlet<O>>

recohereInput

  • recohereInput(version: number): void
  • Parameters

    • version: number

    Returns void

recohereInputKey

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

    • key: K
    • version: number

    Returns 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
  • Parameters

    Returns void

unbindOutputs

  • unbindOutputs(): void
  • Returns void

watch

  • Parameters

    Returns MapOutlet<K, V, O>

  • Parameters

    Returns MapOutlet<K, V, O>

Generated using TypeDoc