Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
fix: use async setImmediate, make browserify happy
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias committed May 4, 2017
1 parent 4229ed2 commit 9ec264b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const config = require('./config')
const log = config.log
const multicodec = config.multicodec
const ensureArray = utils.ensureArray
const setImmediate = require('async/setImmediate')

/**
* FloodSub (aka dumbsub is an implementation of pubsub focused on
Expand Down
1 change: 1 addition & 0 deletions src/peer.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
const lp = require('pull-length-prefixed')
const Pushable = require('pull-pushable')
const pull = require('pull-stream')
const setImmediate = require('async/setImmediate')

const rpc = require('./message').rpc.RPC

Expand Down

0 comments on commit 9ec264b

Please sign in to comment.