@eveble/eveble

Hierarchy

Implemented by

Index

Properties

Methods

Properties

config

config: Configurable


injector

injector: Injector


state

state: State

Inherited from Stateful.state

Overrides void

Methods

getSelectableStates

getSelectableStates(): Record‹string, State

Inherited from Stateful.getSelectableStates

Overrides void

Returns: Record‹string, State


getState

getState(): State

Inherited from Stateful.getState

Overrides void

Returns: State


hasState

hasState(): boolean

Inherited from Stateful.hasState

Overrides void

Returns: boolean


initialize

initialize(): Promise‹void›

Returns: Promise‹void›

initialize(): Promise‹void›

Returns: Promise‹void›


invokeAction

invokeAction(actionName: string, options: ActionInvokingOptions): Promise‹void›

Parameters:

NameType
actionNamestring
optionsActionInvokingOptions

Returns: Promise‹void›

invokeAction(actionName: string, options: ActionInvokingOptions): Promise‹void›

Parameters:

NameType
actionNamestring
optionsActionInvokingOptions

Returns: Promise‹void›


isInOneOfStates

isInOneOfStates(states: State | State[]): boolean

Inherited from Stateful.isInOneOfStates

Overrides void

Parameters:

NameType
statesState | State[]

Returns: boolean


isInState

isInState(state: State | State[]): boolean

Inherited from Stateful.isInState

Overrides void

Parameters:

NameType
stateState | State[]

Returns: boolean


reset

reset(): Promise‹void›

Returns: Promise‹void›

reset(): Promise‹void›

Returns: Promise‹void›


setState

setState(state: State): void

Inherited from Stateful.setState

Overrides void

Parameters:

NameType
stateState

Returns: void


shutdown

shutdown(): Promise‹void›

Returns: Promise‹void›

shutdown(): Promise‹void›

Returns: Promise‹void›


start

start(): Promise‹void›

Returns: Promise‹void›

start(): Promise‹void›

Returns: Promise‹void›


stop

stop(): Promise‹void›

Returns: Promise‹void›

stop(): Promise‹void›

Returns: Promise‹void›


validateState

validateState(stateOrStates: State | State[], error?: Error): boolean

Inherited from Stateful.validateState

Overrides void

Parameters:

NameType
stateOrStatesState | State[]
error?Error

Returns: boolean