hosanna-ui-docs - v0.9.0
    Preparing search index...

    AsyncManager is responsible for managing the lifecycle and execution of asynchronous commands and events.

    • Handles command registration, dispatch, completion, and cancellation.
    • Integrates with platform-specific task nodes and message ports.
    • Manages event queues and dispatchers for async event delivery.
    • Loads and instantiates command handlers dynamically by scope.

    Implements

    Index

    Constructors

    Properties

    commandHandlerClazzByScope: Record<string, any> = {}

    Map of command handler classes by scope.

    commandHandlersByScope: Record<string, any> = {}

    Instantiated command handlers by scope.

    commandRegistry: Map<string, IAsyncCommand<unknown>> = ...

    Registry of active async commands by ID.

    Dispatcher for sending async events to the appropriate task node.

    Queue for managing async events.

    fpsTimer: ISGROTimespan

    Timer for measuring frame deltas.

    functionMap: Record<string, string> = {}

    Map of function names by scope.

    loopFrequency: number = ...

    Loop frequency in milliseconds for the main loop.

    Message port for receiving commands (Roku platform).

    runInterval?: unknown

    Interval handle for the web run loop.

    Injected system service for ticking system-level operations.

    taskNode: ISGNTask

    The task node associated with this manager.

    Injected timer service for ticking timer-based operations.

    Methods