git ssb

0+

cel / pull-postmsg



Tree:
📄README.md
📁example
📄index.js
📄package.json
README.md

pull-postmsg

pull-stream for bidirectional communication between frames using window.postMessage

var Postmsg = require('pull-postsg')
var duplex = Postmsg(win, origin)

Note that the stream does not propagate backpressure or errors, so if you need those, you have to emulate them at a higher level.

See also

License

Copyright (c) 2016 Charles Lehner

Usage of the works is permitted provided that this instrument is retained with the works, so that any entity that uses the works is notified of this instrument.

DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY.

Built with git-ssb-web