Urigo / meteor-rxjs

Exposing Mongo Cursor as RxJS Observable

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MeteorObservable.call does not seem to be working

IamCarbonMan opened this issue · comments

I have a method that returns an EJSON array (which is returned by a Cursor.fetch() call), which works like so:

Meteor.call("search", {}, console.log)

but does not work like so:

MeteorObservable.call("card_search", {}).subscribe(console.log)

In the first example, an Array is logged to the console, in the second, the console shows undefined.

Can you please share a sample repository showing the issue?

Closing because I couldn't seem to reproduce the issue once I created a simple example.