Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SnapshotWithStream<A, B, C>

Type parameters

  • A

  • B

  • C

Hierarchy

  • Stream<C>
    • SnapshotWithStream

Index

Constructors

constructor

Properties

Private behavior

behavior: Behavior<B>

child

child: Consumer<C>

Private fn

fn: function

Type declaration

    • (a: A, b: B): C
    • Parameters

      • a: A
      • b: B

      Returns C

nrOfListeners

nrOfListeners: number

Methods

addListener

filter

  • filter(fn: function): Stream<C>

map

  • map<B>(fn: function): Stream<B>
  • Type parameters

    • B

    Parameters

    • fn: function
        • (a: C): B
        • Parameters

          • a: C

          Returns B

    Returns Stream<B>

mapTo

merge

push

  • push(a: A): void

removeListener

  • removeListener(listener: Consumer<any>): void

scan

scanS

  • Type parameters

    • B

    Parameters

    • fn: function
        • (a: C, b: B): B
        • Parameters

          • a: C
          • b: B

          Returns B

    • startingValue: B

    Returns Behavior<Stream<B>>

subscribe

Generated using TypeDoc