new WorkTask(fn, cb)
Parameters:
Name | Type | Description |
---|---|---|
fn |
function | Function to execute. |
cb |
function | Calback to be called when fn ends. |
- Source:
- mapspace/collections/workqueue.js