Files
meteor/packages/http
Ben Newman b46e66e3ea Make Meteor.wrapAsync official, and simplify binding.
Summary:
To bind the wrapped function to an object, just pass that object as the
optional second argument to Meteor.wrapAsync:

  var response = Meteor.wrapAsync(HTTP.get, HTTP)("http://example.com");

Test Plan: meteor test-packages meteor

Reviewers: emily, avital, sashko

Reviewed By: emily

CC: nim

Differential Revision: https://phabricator.meteor.com/D807
2014-09-05 11:48:21 -07:00
..
2014-09-04 16:56:19 -07:00