We're excited to announce the release of version 0.1.0, which brings seamless handling of asynchronous operations to the Flusso library! This update makes it even more convenient to work with coroutines and improves the integration with Result instances.
Key features in this release:
- AsyncResult: A new AsyncResult class has been added, which wraps the Result instances and provides asynchronous counterparts for common Result methods, such as fmap, and_then, and or_else. This allows you to easily chain asynchronous operations and handle errors without the need for nested if statements or complex error handling.
- Do Notation for AsyncResult: To further simplify working with asynchronous operations, we've introduced a new Do Notation implementation for the AsyncResult class. This enables you to write more concise and readable code by using async with statements to chain multiple async functions and handle errors in a clean and elegant way.
- Updated Readme: The documentation has been updated to include detailed explanations and examples of the new features introduced in this release. This will help you get started with using AsyncResult and the new Do Notation in your projects right away!
We hope you enjoy the new features and find them useful in your projects. As always, we welcome your feedback and contributions. Happy coding!