This stores all asynchronous tasks waiting to be completed, for a given scene.

Constructors

Properties

Methods

Constructors

Properties

tasksWithCallback: {
    asyncTask: AsyncTask;
    callback: ((runtimeScene) => void);
}[] = ...

Maps a task to the callback to be executed once it is finished.

Type declaration

  • asyncTask: AsyncTask
  • callback: ((runtimeScene) => void)
      • (runtimeScene): void
      • Parameters

        Returns void

Methods

  • Adds a task to be processed between frames and a callback for when it is done to the manager.

    Parameters

    • asyncTask: AsyncTask

      The AsyncTask to run.

    • callback: ((runtimeScene) => void)

      The callback to execute once the task is finished.

        • (runtimeScene): void
        • Parameters

          Returns void

    Returns void