test: update readme

This commit is contained in:
Simon Cruanes 2023-10-25 22:41:18 -04:00
parent 056986c84f
commit dfb588cdc5
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -34,9 +34,7 @@ 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.Runner.t =
{Moonpool.Pool.run_async = <fun>; shutdown = <fun>; size = <fun>;
num_tasks = <fun>}
val pool : Moonpool.Runner.t = <abstr>
# begin
Moonpool.Pool.run_async pool