Skip to content

Documentation / @andrew_l/app / AppInstance

Interface: AppInstance<P, S, M> ​

Runtime state of a created app instance.

Type Parameters ​

P ​

P extends ObjectPropsOptions = { }

S ​

S extends Record<string, any> = { }

M ​

M extends Record<string, AnyFunction> = { }

Properties ​

definition ​

definition: AppDefinition<P, S, M>


eventBus ​

eventBus: SimpleEventEmitter<EventMap>


logger ​

logger: Logger


props ​

props: ExtractPropTypes<P> | null


setupState ​

setupState: SetupContext<Data>


state ​

readonly state: State