package moonpool

  1. Overview
  2. Docs

Source file event.ml

1
2
3
4
5
6
7
8
9
10
11
include Picos_std_event.Event

let[@inline] of_fut (fut : _ Moonpool.Fut.t) : _ t =
  from_computation (Moonpool.Fut.Private_.as_computation fut)

module Infix = struct
  let[@inline] ( let+ ) x f = map f x
  let ( >|= ) = ( let+ )
end

include Infix
OCaml

Innovation. Community. Security.