mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-05 19:00:33 -05:00
doc correction
This commit is contained in:
parent
dbc099052d
commit
538f3df31a
1 changed files with 1 additions and 2 deletions
|
|
@ -17,8 +17,7 @@ module Fut = Moonpool.Fut
|
|||
|
||||
val fut_of_lwt : 'a Lwt.t -> 'a Moonpool.Fut.t
|
||||
(** [fut_of_lwt lwt_fut] makes a thread-safe moonpool future that completes when
|
||||
[lwt_fut] does. This must be run from within the Lwt thread, eg inside of
|
||||
{!spawn_lwt} or {!run_in_lwt_and_await}. *)
|
||||
[lwt_fut] does. This can be run from any thread. *)
|
||||
|
||||
val lwt_of_fut : 'a Moonpool.Fut.t -> 'a Lwt.t
|
||||
(** [lwt_of_fut fut] makes a lwt future that completes when [fut] does. This
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue