Fluent asynchronous API 1: API requirements
Posted by: More Whidbey stuff,
on 05 Dec 2014 |
View original | Bookmarked: 0 time(s)
Today I built a fluent asynchronous API. This is hard to do if you want the API to remain as close as possible to a synchronous API, but still maintain reliable and consistent asynchronous behavior. There are examples of this around (Erik Meijers reactive extensions come to mind), quite a few not always clear blog posts, a general functional pattern, and a few npm packages. None of this however seemed to correspond exactly to what I wanted.First, I wanted the API to look as natural as possible, surfacing...