package qcow

  1. Overview
  2. Docs
val map_p : ('a -> ('b, 'error) Result.result Lwt.t) -> 'a list -> ('b list, 'error) Result.result Lwt.t

map_p f xs computes f x where x \in xs concurrently and returns a list of successful results or the first error encountered. All threads will have terminated by the time the function returns.

OCaml

Innovation. Community. Security.