Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ReduceFieldsOperator<K, V, I, O>

Type parameters

  • K

  • V

  • I

  • O

Hierarchy

Index

Constructors

constructor

Properties

Readonly Abstract identity

identity: O

Readonly input

input: null | MapOutlet<K, V, I>

Readonly state

state: BTree<K, V, O>

Methods

Abstract accumulate

  • accumulate(result: O, value: V): O
  • Parameters

    • result: O
    • value: V

    Returns O

bindInput

  • bindInput(newInput: MapOutlet<K, V, I>): void

bindOutput

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

Abstract combine

  • combine(result: O, value: O): O
  • Parameters

    • result: O
    • value: O

    Returns O

decohere

  • decohere(): void

decohereInput

  • decohereInput(): void

decohereOutput

  • decohereOutput(): void

decohereOutputKey

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

Protected didDecohere

  • didDecohere(): void

Protected didDecohereOutputKey

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

Protected didRecohere

  • didRecohere(version: number): void

Protected didRecohereOutputKey

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

disconnectInputs

  • disconnectInputs(): void

disconnectOutputs

  • disconnectOutputs(): void

get

  • get(): undefined | O
  • Returns undefined | O

map

memoize

Protected onDecohere

  • onDecohere(): void

Protected onDecohereOutputKey

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

Protected onRecohere

  • onRecohere(version: number): void

Protected onRecohereOutputKey

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

outputIterator

recohere

  • recohere(version: number): void

recohereInput

  • recohereInput(version: number): void

recohereOutput

  • recohereOutput(version: number): void

recohereOutputKey

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

unbindInput

  • unbindInput(): void

unbindOutput

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

unbindOutputs

  • unbindOutputs(): void

watch

Protected willDecohere

  • willDecohere(): void

Protected willDecohereOutputKey

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

Protected willRecohere

  • willRecohere(version: number): void

Protected willRecohereOutputKey

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

Generated using TypeDoc