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

Constructors

Properties

tasksWithCallback: {
    asyncTask: AsyncTask;
    callback: ((runtimeScene, longLivedObjectsList) => void);
    callbackId: string;
    longLivedObjectsList: LongLivedObjectsList;
}[] = ...

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

Type declaration

Methods

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

    Parameters

    Returns void