mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-05 19:00:33 -05:00
it's complicated and hard to use in practice, because it's not obvious if a piece of code is running under another fiber or not, so `Fiber.spawn` might fail because it has no parent. So in practice we've been using `Fiber.spawn_top`… which has no interest over just using `Fut.spawn`.
10 lines
174 B
Text
10 lines
174 B
Text
(library
|
|
(name moonpool_lwt)
|
|
(public_name moonpool-lwt)
|
|
(enabled_if
|
|
(>= %{ocaml_version} 5.0))
|
|
(libraries
|
|
(re_export moonpool)
|
|
picos
|
|
(re_export lwt)
|
|
lwt.unix))
|