How do I get a live stream of deltas from Meteor collection, for use outside of a webapp?

前端 未结 3 653
被撕碎了的回忆
被撕碎了的回忆 2020-12-24 07:51

How do I get a live stream of deltas from Meteor collection, for use outside of a webapp?

I\'m looking for an initial result set, plus a series of operations on that

3条回答
  •  不思量自难忘°
    2020-12-24 08:24

    Geoff is right, but as I searched for the same solution I just found two working with Javascript

    • depends on jQuery https://github.com/eddflrs/meteor-ddp (recommended)
    • a light standalone solution https://github.com/bmcmahen/ddp-sockjs-client

    hopefully both are working with the specifications for ddp https://github.com/meteor/meteor/blob/master/packages/livedata/DDP.md

提交回复
热议问题