Skip to content

Instantly share code, notes, and snippets.

@puemos
Last active May 6, 2018 08:01
Show Gist options
  • Save puemos/ab09fbad0a252e16b1d8f931d839e51d to your computer and use it in GitHub Desktop.
Save puemos/ab09fbad0a252e16b1d8f931d839e51d to your computer and use it in GitHub Desktop.
const QUEUE_CONCURRENT = 5
const { watcher, queueChannel } = yield createConcurrentTaskQueue(
handler,
QUEUE_CONCURRENT
);
const watcherTask = yield fork(watcher)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment