Caravela.Flow.Steps.Race (Caravela v0.13.0)

Copy Markdown View Source

Run every fun in tasks concurrently, take the first to return. The winner is stored under the collect_as key.

Summary

Types

t()

@type t() :: %Caravela.Flow.Steps.Race{
  collect_as: atom(),
  tasks: [(-> any())],
  timeout: non_neg_integer()
}