File

core/common/state-service.abstract.ts

Description

A abstract state which should be included in each state.

Index

Properties
Methods
Accessors

Properties

Protected Abstract state$
Type : BehaviorSubject<any> | any

Saves the state. Should not be accessible directly. Use map or the getter to access the state. Use functions in the implementation to change the state.

Methods

Protected emitNewState
emitNewState()

Emits a new state.

Returns : void
map
map(mappedProperty: (undefined) => void)

Maps to a property and just returns that property.

Parameters :
Name Type Optional Description
mappedProperty function No

The property to map to.

Returns : Observable<any>

Accessors

state
getstate()

Should return the current state of this StateService

results matching ""

    No results matching ""