This commit is contained in:
Simon Cruanes 2023-07-09 22:35:39 -04:00
parent e73c1a2966
commit ab675797fa
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -34,7 +34,9 @@ of `pool`, as soon as one is available. No result is returned.
```ocaml
# #require "threads";;
# let pool = Moonpool.Pool.create ~min:4 ();;
val pool : Moonpool.Pool.t = <abstr>
val pool : Moonpool.Pool.t =
{Moonpool.Pool.run_async = <fun>; shutdown = <fun>; size = <fun>;
num_tasks = <fun>}
# begin
Moonpool.Pool.run_async pool