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

Expose more ThreadPool functionality through Future.withEventualValue(). #1828

Closed

Commits on Aug 12, 2024

  1. Expose more ThreadPool features through Future.

    Specifically, the work function you pass to `withEventualValue()` is now the same as the one you'd pass to `ThreadPool.run()`, taking two arguments and returning none. This allows access to `sendProgress()` as well as simplifying the implementation.
    player-03 committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    76ccda8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dba3339 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0fa7c57 View commit details
    Browse the repository at this point in the history
  4. Lazily initialize Future's ThreadPools.

    Lots of apps won't need them, or will only use one of them, so there's no need to pre-allocate both.
    player-03 committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    4b8f18b View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2024

  1. Run formatter.

    player-03 committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    6567c56 View commit details
    Browse the repository at this point in the history