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

Feature: AbortSignal support first value from last value from #6675

Commits on Nov 15, 2021

  1. feat(firstValueFrom): now supports AbortSignal cancellation

    Adds a feature to the `firstValueFrom` config to support passing an `AbortSignal` that can be used to unsubscribe from the underlying subscription. This will result in the returned promise rejecting with an `AbortError`, which is an error type belonging to the library at this point. This is because there is no consistent error type to throw across all supported runtimes that the user could check for.
    
    related ReactiveX#6442
    benlesh committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    63785b9 View commit details
    Browse the repository at this point in the history
  2. feat(lastValueFrom): Adds support for cancellation with AbortSignal.

    Similar to the update to `firstValueFrom`. This adds a configuration option to unsubscribe from the underlying subscription with an `AbortSignal`. If aborted with a signal, the returned promise will reject with an `AbortError`.
    
    resolves ReactiveX#6442
    benlesh committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    3e39443 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2022

  1. Delete index.d.ts

    benlesh committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    d75a68c View commit details
    Browse the repository at this point in the history