Revision history for Ekorn-Pipeline-Futures

Unreleased

v0.1.0 2026-11-29

    Stages that wait on Futures and promises, for concurrent I/O, with a
    user guide and a reference.

    The first release, of Ekorn-Pipeline's roadmap item 2026-0064: two
    stages that keep many requests in flight in one process, on any
    event loop that await knows, passing results on in order or as
    they're ready; with a user guide of recipes, each a whole program
    tested on Linux, macOS and Windows, and a reference of what the
    stages promise.

    - in_futures and in_futures_as_ready: a block for each value, giving
      what Future::AsyncAwait's await takes, such as an IO::Async
      Future or a Mojo::Promise, with up to $n in flight; results in
      the order the values came, or as they're ready (Ekorn-Pipeline
      2026-0064).
    - Both stages are exported by default, as Ekorn::Pipeline's Stop and
      gather are; an empty import list keeps them out (Ekorn-Pipeline
      2026-0064, D12).
    - What a block gives that's still waiting after the stage waited on
      it croaks saying so, apart from a loop known to be running, which
      has its own message (Ekorn-Pipeline 2026-0064, D2).
    - A failure that's a string, such as Mojo's "Connection refused", is
      thrown as it was given, without the line in the stage that Future
      or Mojo::Promise said it came from (Ekorn-Pipeline 2026-0064).
    - A stop from the block, met as the stage flushes at the end of a
      run, carries every result before it; and a stop that isn't an
      array carries nothing, as in Ekorn, rather than dying (Ekorn-Pipeline
      2026-0064, D15 and D16).
    - The stages take no options, so one given croaks as the stage is
      made, rather than being ignored; in_futures_as_ready is the way
      to have results as they're ready (Ekorn-Pipeline 2026-0064, D17).
    - A user guide, Ekorn::Pipeline::Futures::Manual::HowTo: recipes,
      each a whole program, tested as it stands on Linux, macOS and
      Windows (Ekorn-Pipeline 2026-0064, D7).
    - A reference, Ekorn::Pipeline::Futures::Manual::Reference: what the
      stages promise, with "not inside a running loop" up front, and what
      they don't do; each promise linked to the recipes that show it, its
      examples tested as they stand (Ekorn-Pipeline 2026-0064).
