We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
var p2; var port = cw(function(data,cb){ this.x = new MessageChannel(); this.on('mess',function(a){ this.x.port1.postMessage(a); }); cb(this.x.port2,[this.x.port2]); }); port.data(1).then(function(a){ console.log('yes'); p2=a; },function(a){ console.log(a); }); p2.onmessage=function(a){ console.log('msg ',a.data); } port.fire('mess','hello there')
this could be a polyfill for sub workers in chrome
The text was updated successfully, but these errors were encountered:
taking this off of 2.0.0
Sorry, something went wrong.
No branches or pull requests
this could be a polyfill for sub workers in chrome
The text was updated successfully, but these errors were encountered: