0.2.3 • Published 7 years ago

pull-defer v0.2.3

Weekly downloads
38,334
License
MIT
Repository
github
Last release
7 years ago

pull-defer

create a placeholder for a pull stream that won't start moving until later.

examples

pull-defer can be used with source, sinks and transform streams.

through

//create a deferred through stream
var deferred = require('pull-defer').through()

pull(
  input,
  deferred,
  output
)

//nothing will happen until deferred.resolve(stream) is called.
deferred.resolve(transform)

source

//create a deferred through stream
var deferred = require('pull-defer').source()

pull(
  deferred,
  output
)

//nothing will happen until deferred.resolve(stream) is called.
deferred.resolve(input)

sink

//create a deferred through stream
var deferred = require('pull-defer').sink()

pull(
  input,
  deferred
)

//nothing will happen until deferred.start(stream) is called.
deferred.resolve(output)

License

MIT

@infinitebrahmanuniverse/nolb-pul@everything-registry/sub-chunk-2492@borealisswap/borealis-swap-libipfs-hdipfs-mfs-cryptoipfs-postmsg-proxyipfs-vueipfs-apiipfs-ci-testkappa-view-pull-queryssb-tribes2ssb-phidgetssb-mobile-bluetooth-managerssb-mobile-bluetooth-manager-forkssb-pacmanssb-revisionsssb-social-indexssb-storage-usedssb-patchworkssb-ebtssb-chess-dbssb-contactssb-blob-filesssb-blobsssb-bluetooth-repeaterssb-box2ssb-browser-coressb-meta-feedsssb-hyper-blobsssb-invites-dbtre-compile@arve.knudsen/libp2p-secio@afria/afria-libraries@chakra-swap/core@bonsaiswap-lib/lib@bonsaiswapv3/core@bonsaiswapv3/deploy@decentralized-identity/sidetree-ipfs-datastoresxs-js-interface-datastorexs-js-ipldzeronet-zite@eliteswap/v2-core@innoswap/core@litedexdev/litedex-core-swap@michaelmure/ipfs-api@materia-dex/materia-contracts-proxy@jimpick/ipfs@kodinghandle/bullswap-lib@igniswap/igni-swap-lib@olympfin/olymp-swap-lib@ocario/ipfs-http-clientmtg-tourney-appmultiblobmynosqlnpmqocrio-ipfs-http-clientpeersafe-ipfspeersafe-pdfspatchdeckpatchcorescuttle-injectscuttle-invite-dbscuttle-tagsecure-scuttlebutt_flumepeer-crdtprivate-streampull-http-clientpull-sortpull-readyablepull-reconnectpull-bufferpull-xhrpull-unixidb-pull-blob-storeicebreaker-networklevel-pull-blob-storelevel-sublevellibp2p-tlslibp2p-pnet@thismr/bitmindtest-core@xstorage/xs-js-interface-connection@xstorage/xs-js-libp2p-secio@xswap/v2-core@zalastax/nolb-pul@sudophunk/fulidoaegir-test-repo@zippie/ipfs-postmsg-proxyalligatoralligator-clientbittodoboot-boneeth-libp2p-seciofs-pull-blob-storeget-arch-master-keys
0.2.3

7 years ago

0.2.2

9 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.1

11 years ago

0.1.0

11 years ago

0.0.0

11 years ago