mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-05 19:00:33 -05:00
fix test
This commit is contained in:
parent
e73c1a2966
commit
ab675797fa
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue