-
-
Save druska/94fcf4bbdb8588391040b20915ed9bab to your computer and use it in GitHub Desktop.
@nodeguy/channel Bluebird issue reproduction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Bluebird = require('bluebird') | |
const Channel = require('@nodeguy/channel') | |
global.Promise = Bluebird | |
async function main() { | |
const c = Channel() | |
const asyncF = async () => {} | |
c.push(asyncF) | |
await c.shift() | |
} | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment