class PlatformState
Constructors
🔗
PlatformState()
Properties
🔗
initial_state: PLATFORM_STATE
🔗
package: PLATFORM_PACKAGE | string
🔗
states: Map<PLATFORM_PACKAGE | string, PLATFORM_STATE>
Methods
🔗
get(): PLATFORM_STATE
The function returns the state of a platform or undefined if it doesn't exist.
🔗
set(state: PLATFORM_STATE): void
The function sets the state of a package and logs a warning message.
Constructors
🔗
PlatformState()
Properties
🔗
initial_state: PLATFORM_STATE
🔗
package: PLATFORM_PACKAGE | string
🔗
states: Map<PLATFORM_PACKAGE | string, PLATFORM_STATE>
Methods
🔗
get(): PLATFORM_STATE
The function returns the state of a platform or undefined if it doesn't exist.
🔗
set(state: PLATFORM_STATE): void
The function sets the state of a package and logs a warning message.