diff options
author | Alexander Early <alexander.early@gmail.com> | 2018-09-03 01:34:45 -0700 |
---|---|---|
committer | Alexander Early <alexander.early@gmail.com> | 2018-09-03 01:34:45 -0700 |
commit | aff61235905be9767993ad84f9aca657d8af9e88 (patch) | |
tree | c1cdcc860eaa2dbae817372fe7c8e789c9fe031d /lib/internal/queue.js | |
parent | 5f71f25b8e13976d2582ad6ec06c1dd6d3774829 (diff) | |
download | async-awaitable.tar.gz |
cleanup, remove noop and unused internal functionsawaitable
Diffstat (limited to 'lib/internal/queue.js')
-rw-r--r-- | lib/internal/queue.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/internal/queue.js b/lib/internal/queue.js index 4c1f5cc..751b562 100644 --- a/lib/internal/queue.js +++ b/lib/internal/queue.js @@ -1,9 +1,10 @@ -import noop from './noop'; import onlyOnce from './onlyOnce'; import setImmediate from './setImmediate'; import DLL from './DoublyLinkedList'; import wrapAsync from './wrapAsync'; +const noop = () => {} + export default function queue(worker, concurrency, payload) { if (concurrency == null) { concurrency = 1; |