Class: Queue

Queue


new Queue()

Tasks queue.

Source:

Methods


add(weight, task)

Adds task to queue.

Parameters:
Name Type Description
weight number

Task weight.

task function

Task.

Source: