git ssb

0+

cel / pull-postmsg



Tree: d0d1809cb44187fcae6533cab233395f70371e7f

Files: d0d1809cb44187fcae6533cab233395f70371e7f / README.md

1338 bytesRaw

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