bro_global_manager library

Classes

AbsGlobalManager
This is an abstract class to build the global manager of the application.
AbsManagerBuilder<Manager extends AbsWithLifeCycle>
This is an abstract class to build a manager with a lifecycle.
AbsWithLifeCycle
This is an abstract class to use as base for all the services, managers and generic classes which needs to have a lifecycle.

Enums

GlobalManagerStatus
This is the status of the global manager.
PlatformType
The type of platform the app is running on.
WrongPlatformBehavior
The behavior to use when the platform is not supported by the manager.

Mixins

MixinManagerWithLogger
A mixin that adds a logger to a manager.

Functions

appLoggerHelper() → LoggerHelper
Get the main logger helper from the global manager.
globalGetManager<Manager extends AbsWithLifeCycle>() → Manager
Get the manager of type Manager from the global manager.

Exceptions / Errors

GlobalManagerNotCreatedError
Error thrown when the global manager was not created and we try to access it.
ManagerRegisteringDeadLoopError
Error thrown when a dead loop is detected while registering managers.
PlatformNotSupportedByManagerError
An error throwns when the platform is not supported by the manager.