mirror of
https://github.com/fluencelabs/js-libp2p-crypto
synced 2025-08-01 00:12:08 +00:00
feat: nextTick instead of setImmediate, and fix sync in async (#136)
* fix: avoid sync callback in async function * chore: fix linting * chore: remove non jenkins ci * refactor: use nextTick over setImmediate * refactor: async/nextTick for better browser support
This commit is contained in:
@@ -25,7 +25,7 @@ async.waterfall([
|
||||
|
||||
suite
|
||||
.on('cycle', (event) => console.log(String(event.target)))
|
||||
.run({async: true})
|
||||
.run({ async: true })
|
||||
})
|
||||
|
||||
function setup (cipher, hash, secret) {
|
||||
|
Reference in New Issue
Block a user