Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SuperSource<T, D, U>

A Source implementation as an abstract class. See SourceEnclosure.

Type parameters

  • T = any

  • D = Empty

  • U = T

Hierarchy

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

Protected constructor

  • new SuperSource(state: T, deps: D, projection: UnaryFn<T, U> | Empty): SuperSource

Properties

Protected deps

deps: D

Protected source

source: T

Accessors

state

  • get state(): U

state$

  • get state$(): Observable<U>

Methods

Protected next

  • next(state: Partial<T>): void
  • Updates the instance state. If it is an object, it will create a new state object by merging state with the current instance state.

    Parameters

    • state: Partial<T>

    Returns void

Generated using TypeDoc