mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-07 03:35:36 -05:00
fix readme
This commit is contained in:
parent
548212ab43
commit
e6a2afb2ba
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ of `pool`, as soon as one is available. No result is returned.
|
||||||
```ocaml
|
```ocaml
|
||||||
# #require "threads";;
|
# #require "threads";;
|
||||||
# let pool = Moonpool.Pool.create ~min:4 ();;
|
# let pool = Moonpool.Pool.create ~min:4 ();;
|
||||||
val pool : Moonpool.Pool.t =
|
val pool : Moonpool.Runner.t =
|
||||||
{Moonpool.Pool.run_async = <fun>; shutdown = <fun>; size = <fun>;
|
{Moonpool.Pool.run_async = <fun>; shutdown = <fun>; size = <fun>;
|
||||||
num_tasks = <fun>}
|
num_tasks = <fun>}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue