mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-07 03:35:36 -05:00
test: update readme
This commit is contained in:
parent
056986c84f
commit
dfb588cdc5
1 changed files with 1 additions and 3 deletions
|
|
@ -34,9 +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.Runner.t =
|
val pool : Moonpool.Runner.t = <abstr>
|
||||||
{Moonpool.Pool.run_async = <fun>; shutdown = <fun>; size = <fun>;
|
|
||||||
num_tasks = <fun>}
|
|
||||||
|
|
||||||
# begin
|
# begin
|
||||||
Moonpool.Pool.run_async pool
|
Moonpool.Pool.run_async pool
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue