summaryrefslogtreecommitdiff
path: root/lib/internal/queue.js
diff options
context:
space:
mode:
authorAlexander Early <alexander.early@gmail.com>2018-09-03 01:34:45 -0700
committerAlexander Early <alexander.early@gmail.com>2018-09-03 01:34:45 -0700
commitaff61235905be9767993ad84f9aca657d8af9e88 (patch)
treec1cdcc860eaa2dbae817372fe7c8e789c9fe031d /lib/internal/queue.js
parent5f71f25b8e13976d2582ad6ec06c1dd6d3774829 (diff)
downloadasync-awaitable.tar.gz
cleanup, remove noop and unused internal functionsawaitable
Diffstat (limited to 'lib/internal/queue.js')
-rw-r--r--lib/internal/queue.js3
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;