Created
January 14, 2017 03:55
-
-
Save ORESoftware/d23de7c46114c2c3412c685d8672ae3e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// import opq | |
const Queue = require('opq'); | |
// below we create a new client to the queue, | |
// and create the queue on the filesystem if it does | |
// not exist. the port is used by Live-Mutex; | |
// fp is our queue filepath | |
const q = new Queue({ | |
fp: path.resolve(process.env.HOME + '/testing.txt') | |
port: 8888 | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment