diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-01-18 08:40:38 -0500 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-01-18 08:40:38 -0500 |
commit | 2cc02e19410ea9a97a76480d84e0dc3be0efe312 (patch) | |
tree | c4a63ab5a845c688afce513124774c541e6eaed0 | |
parent | 32615549686567094ce80d89ad33695acfafa3ef (diff) |
moved jarvis to schedule
-rw-r--r-- | examples/jarvis.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/jarvis.js b/examples/jarvis.js index 157808f..14bbaf7 100644 --- a/examples/jarvis.js +++ b/examples/jarvis.js @@ -7,7 +7,7 @@ const ms = require('../utils/measurespace'); const vec = require('../utils/vec'); const comb = require('../utils/comb'); const Search = require('../tools/search'); -const Queue = require('../tools/queue'); +const sched = require('../tools/schedule'); const ri = require('../utils/rectintersect'); //// Basic handling on open and close of the socket @@ -78,7 +78,7 @@ function tileHandler(send, source, tiles){ } //// "userspace" functions for responses, like to tileUpdates -var writes = new Queue(1000, 200, (elems) => main.write(elems)); +var writes = new sched.Queue(1000, 200, (elems) => main.write(elems)); var command = 'jarvis' var sig = 'feynmansfedora' |