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

EAC-4613 Add observe as alternative to then #19

Merged
merged 2 commits into from
Jan 30, 2024

Commits on Jan 30, 2024

  1. EAC-4613 Add observe as alternative to then

    Different from then(), observe() returns void and will
    call the continuation on the executor thread. Any
    exceptions thrown by the continuation will therefore
    affect the executor's dispatch thread.
    
    It's intended use case is fire-and-forget futures that
    we still want to .get() to not silently swallow any
    exceptions.
    manutzin-te committed Jan 30, 2024
    Configuration menu
    Copy the full SHA
    bc6bdae View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5c04edc View commit details
    Browse the repository at this point in the history