mirror of
https://github.com/fluencelabs/js-libp2p-crypto
synced 2025-06-21 07:01:44 +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:
@ -40,4 +40,4 @@ suite.add('sign and verify', (d) => {
|
||||
|
||||
suite
|
||||
.on('cycle', (event) => console.log(String(event.target)))
|
||||
.run({async: true})
|
||||
.run({ async: true })
|
||||
|
Reference in New Issue
Block a user