meteorhacks / meteor-async

Set of async utilities to work with NPM modules inside Meteor
MIT License
63 stars 4 forks source link

timeout on wrap method? #8

Open hems opened 8 years ago

hems commented 8 years ago

What if a wrapped method never calls the callback, wouldn't the "event loop" for that fiber get stuck?

wouldn't be a good idea to have a timeout and throw an exception or something around these lines?