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>


isRunning ​

isRunning: boolean


isSetupDone ​

isSetupDone: boolean


isShuttingDown ​

isShuttingDown: boolean


isStopping ​

isStopping: boolean


logger ​

logger: Logger


props ​

props: null | ExtractPropTypes<P>


setupState ​

setupState: SetupContext<Data>