c-cube / moonpool

Commodity thread pools and concurrency primitives for OCaml 5
https://c-cube.github.io/moonpool/
54 stars 4 forks source link

Moonpool_fib.spawn_ignore is missing ?on parameter #33

Closed amongonz closed 1 month ago

amongonz commented 1 month ago

As of moonpool 0.7, Moonpool_fib has:

val spawn : ?on:Moonpool.Runner.t -> ?protect:bool -> (unit -> 'a) -> 'a t
val spawn_ignore : ?protect:bool -> (unit -> _) -> unit

spawn_ignore is missing the ?on:Moonpool.Runner.t parameter.

c-cube commented 1 month ago

Thank you, good catch.