Methods

(static) armDrain(seconds) → {void}

Parameters:
NameTypeDescription
secondsfloat
Returns:
Type: 
void

(static) enqueue(node) → {boolean}

Queues node behind whatever waits. False only when TASK_QUEUE_CAP launches already wait; launchTask() then reports a refusal.

Parameters:
NameTypeDescription
nodeobject
Returns:
Type: 
boolean

(static) init() → {void}

Returns:
Type: 
void

(static) isQueued(node) → {boolean}

Parameters:
NameTypeDescription
nodeobject
Returns:
Type: 
boolean

(static) onDrainTick() → {void}

Returns:
Type: 
void

(static) publishDepth() → {void}

launchTask() reads this to send new launches to the back of the queue instead of past it.

Returns:
Type: 
void

(static) recordQueuedLaunch() → {void}

The queue's counterpart to the refusal trace in tasks.bs: present in every dev sideload, absent from every store build, readable from the port-8085 console:

?m.global.taskLaunchQueuedTotal ?m.global.taskLaunchQueuePeak

Returns:
Type: 
void