mirror of
https://github.com/bower/bower.git
synced 2026-02-11 06:24:57 -05:00
Fix bugs in the Worker, add tests.
This commit is contained in:
@@ -311,7 +311,7 @@ var worker = new Worker(15, {
|
||||
|
||||
`Worker#enqueue(func, [type])`: Promise
|
||||
|
||||
Enqueues a function to be ran. The function is expected to return a promise.
|
||||
Enqueues a function to be ran. The function is expected to return a promise or a value.
|
||||
The returned promise is resolved when the function promise is also resolved.
|
||||
|
||||
The `type` argument is optional and can be a `string` or an array of `strings`.
|
||||
|
||||
Reference in New Issue
Block a user