mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-06 03:05:30 -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
|
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
|
(** [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
|
[lwt_fut] does. This can be run from any thread. *)
|
||||||
{!spawn_lwt} or {!run_in_lwt_and_await}. *)
|
|
||||||
|
|
||||||
val lwt_of_fut : 'a Moonpool.Fut.t -> 'a Lwt.t
|
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
|
(** [lwt_of_fut fut] makes a lwt future that completes when [fut] does. This
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue