maxSyncTime
The amount of time (in milliseconds) to run tasks within a synchronous loop, before rescheduling other pending tasks asynchronously, defaults to 100ms.
maxSyncTime: number
Notes
- Set this value to zero to always run all tasks asynchronously. Set it to a higher number to continue running synchronous tasks (and parallel asynchronous tasks) in a tight loop for longer.
Related
- class Options staticAn object with options for a particular AsyncTaskQueue.