Skip to content
This repository has been archived by the owner on Aug 23, 2019. It is now read-only.

Commit

Permalink
refactor: use async/setImmediate
Browse files Browse the repository at this point in the history
  • Loading branch information
dryajov committed May 11, 2017
1 parent 1dcab27 commit f199867
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/circuit/onion-dialer.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
'use strict'

require('setimmediate')
require('safe-buffer')
const setImmediate = require('async/setImmediate')

const Dialer = require('./dialer')
const isFunction = require('lodash.isfunction')
Expand Down
2 changes: 1 addition & 1 deletion src/listener.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'

require('setimmediate')
const setImmediate = require('async/setImmediate')

const multicodec = require('./multicodec')
const EE = require('events').EventEmitter
Expand Down

0 comments on commit f199867

Please sign in to comment.