moduleState

var A_Module.moduleState: ModuleDescriptor.State

Read the current state of the module, which indicates whether the module is loading, unloading, or in a stable state.