task/task_queue library

Classes

TaskQueue
This class is used for task management. Tasks are processed in an asynchronous way when there is idle time within a single simulation step or after a defined amount of time (deadline). The class is a wrapper around {@link https://w3.org/TR/requestidlecallback|requestidlecallback()}, a JavaScript API for cooperative scheduling of background tasks.