Options
Menu

Interface ActionConfig<T>

Configuration options for an Action.

Hierarchy

Properties

Properties

Optional id

id: string

A unique id to identify an Action.

default

undefined

Optional initialValue

initialValue: T

The initial value for the Action.
It's probably only useful when the Action is configured to replay the value on subscription.
It'll only be used if it's not undefined.

default

undefined

Optional replay

replay: boolean

A flag to control the replay behaviour of an Action. It decides whether the value should be replayed when you subscribe to the default Observable.

default

false