hunk.code_window:  *
    * <span class="informal">Put every next task on a queue, instead of executing it immediately</span>
    *
    * `queue` scheduler, when used with delay, behaves the same as {@link asyncScheduler} scheduler.
    *
    * When used without delay, it schedules given task synchronously - executes it right when
    * it is scheduled. However when called recursively, that is when inside the scheduled task,
    * another task is scheduled with queue scheduler, instead of executing immediately as well,
    * that task will be put on a queue and wait for current one to finish.
  
hunk.labels: keep keep keep replace keep keep keep keep keep
hunk.after_edit:  * `queueScheduler` scheduler, when used with delay, behaves the same as {@link asyncScheduler} scheduler.
  
hunk.file_path: src/internal/scheduler/queue.ts
hunk.type: replace
file: export const isArrayLike = (<T>(x: any): x is ArrayLike<T> => x && typeof x.length === 'number' && typeof x !== 'function');