Urigo / meteor-rxjs

Exposing Mongo Cursor as RxJS Observable

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to make it work with ValidatedMethod

jalalat opened this issue · comments

I am using https://github.com/meteor/validated-method for creating and calling Meteor methods. Is it possible to convert ValidatedMethod using this package?

Found it. Was very simple:

 MeteorObservable.call("Validated Method name", credentials).subscribe((response) => {
            // Handle success and response from server!
        }, (err) => {
            // Handle error
        });