Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SuperResource<T, D, U>

A Resource implementation as an abstract class.

Type parameters

  • T = any

  • D = Empty

  • U = T

Hierarchy

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

Protected constructor

Properties

Protected deps

deps: D

Protected source

source: T

Accessors

active

  • get active(): boolean

active$

  • get active$(): Observable<boolean>

state

  • get state(): U

state$

  • get state$(): Observable<U>

Methods

disable

  • disable(): void

enable

  • enable(): void

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