FakeStateExtender


class FakeStateExtender


Summary

Public constructors

Public functions

open suspend Unit
extend(coreState: CoreState)

Extends CoreState with a package-specific sub-state.

open Unit
initialize(runtime: Runtime)

Initializes the StateExtender.

Public properties

MutableList<CoreState>

List of CoreState instances that have been extended.

Boolean

Whether the StateExtender has been initialized or not.

Public constructors

FakeStateExtender

Added in 1.0.0-alpha01
FakeStateExtender()

Public functions

extend

Added in 1.0.0-alpha01
open suspend fun extend(coreState: CoreState): Unit

Extends CoreState with a package-specific sub-state.

initialize

Added in 1.0.0-alpha01
open fun initialize(runtime: Runtime): Unit

Initializes the StateExtender.

Public properties

extended

Added in 1.0.0-alpha01
val extendedMutableList<CoreState>

List of CoreState instances that have been extended.

isInitialized

Added in 1.0.0-alpha01
var isInitializedBoolean

Whether the StateExtender has been initialized or not.