Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to use Observables with async/await #83

Merged
merged 1 commit into from Oct 28, 2022

Commits on Oct 28, 2022

  1. Add ability to use Observables with async/await

    A lot of modern JavaScript code uses async/await to handle asynchronous code. This is a great way to write code that is easy to read and understand. However, it is not possible to use async/await with Observables outside of the `forEach()` which requries more boilerplate than needed in order to do so.
    
    Changes:
     * Adds `.all()` to an observable instance allowing one to `await` the values it contains
     * Adds a test for the new functionality
    Brielle Harrison committed Oct 28, 2022
    Configuration menu
    Copy the full SHA
    d283828 View commit details
    Browse the repository at this point in the history