Fun with Meteor Methods

To follow on from my blogs on using async and await in Meteor, I wanted to revisit Meteor methods and compare “classic” methods with async methods. Along the way I discovered differences in the way classic and async methods behave and also dipped into why you should or should not use this.unblock().

If you don’t want to read the whole article, you can skip right to the end for the conclusions.

12 Likes

Awesome! Thanks for the article, this is crystal clear now.

1 Like

Thanks Rob. Very clear and easy to follow. You should blog more :slight_smile:

1 Like

Excellent article. Bookmarked as reference!

1 Like

Another cool article!

Not sure if it warrants another complete article, but Promise.all was something I definitely with I had a better grasp on when I started relying more heavily on Promises/async await. I see it utilized in this article, but maybe a mention of it in one of the two pre-cursor articles would be helpful?

Either way, great job. It’s awesome to see content outside of the guide/API with concrete examples =)

1 Like

Very useful and well written article, the high quality of thought and effort went into it are evident and very much appreciated. Thanks!

1 Like