this is a synchronous task queuing function that enqueues task-functions to be executed sequentially.
each task is supposed to be a function whose return value (or resolved value, if it returns a Promise)
is wrapped in a promise and returned once the task is executed.
type definition of the return type of syncTaskQueueFactory.
this is a synchronous task queuing function that enqueues task-functions to be executed sequentially. each task is supposed to be a function whose return value (or resolved value, if it returns a
Promise
) is wrapped in a promise and returned once the task is executed.