Commit 196d130e by ken

试试看

parent 20914281
...@@ -161,13 +161,14 @@ function depthByRest(symbol,callback) { ...@@ -161,13 +161,14 @@ function depthByRest(symbol,callback) {
function run() { function run() {
subscribe(); subscribe();
setInterval(() => { setInterval(() => {
console.log("run a round");
for (const symbol of observerSymbol) { for (const symbol of observerSymbol) {
depthByRest(symbol); depthByRest(symbol);
} }
}, 300); }, 300);
} }
// run(); run();
module.exports = { module.exports = {
depthByRest, depthByRest,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment