Skip to content

Add the raceFirst function #27

@rcardin

Description

@rcardin

The raceFirst function must have the same semantics as the IO.race function of the Cats-Effect library.
In detail, here is the expected behavior:

  • If the quickest execution succeeds, return its value and cancel the other executions.
  • If the quickest execution fails, return its error and cancel the other executions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions