Skip to content

Commit f87abeb

Browse files
committed
Explain related projects.
1 parent 0087f6d commit f87abeb

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,11 @@ meteor add peerlibrary:blocking
2727
Related projects
2828
----------------
2929

30-
* Meteor provides now a [Meteor.wrapAsync](http://docs.meteor.com/#/full/meteor_wrapasync) function with almost the same functionality. This package exists for compatibility reasons.
30+
* Meteor provides now a [Meteor.wrapAsync](http://docs.meteor.com/#/full/meteor_wrapasync) function with similar
31+
functionality, but if the last provided argument to the resulting blocking function is a function, it will
32+
process it in a special way as a callback. This might lead to [issues if you are making blocking functions
33+
which might normally take non-callback functions as arguments](https://github.com/meteor/meteor/issues/2408).
34+
This package is thus more suitable for functions which take functions as arguments.
35+
* [meteorhacks:async](https://github.com/meteorhacks/meteor-async) provides additionally a whole suite of helper
36+
functions which makes it easier to make blocking object methods. This package can also do that, but you have
37+
to manually do it for each method (or create your own loop).

0 commit comments

Comments
 (0)