3 ms·
The async control flow is not directly inspired by anything. It is a cool side effect of using async for everything that I myself only discovered once I started
by wishawa 4y ago
The async control flow is not directly inspired by anything. It is a cool side effect of using async for everything that I myself only discovered once I started writing examples.
Async UI as a whole is inspired by the simple fact that UI is an effect system[1], and async is also an effect system.
[1]: https://en.wikipedia.org/wiki/Effect_system https://en.wikipedia.org/wiki/Effect_system
Re async split:
Diversity promotes innovation :)
Re error handling:
There's no real support yet. For now when I hit an error I just render nothing. I might add support for components returning Result<_, _> in the future.
- kwkelly 4y agoCrank.js uses async and races for control flow. It’s pretty interesting