mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-06 03:05:30 -05:00
chore
This commit is contained in:
parent
4ff45df7e7
commit
6f707c869c
2 changed files with 3 additions and 0 deletions
|
|
@ -36,6 +36,7 @@
|
||||||
(package
|
(package
|
||||||
(name moonpool-lwt)
|
(name moonpool-lwt)
|
||||||
(synopsis "Event loop for moonpool based on Lwt-engine")
|
(synopsis "Event loop for moonpool based on Lwt-engine")
|
||||||
|
(allow_empty) ; on < 5.0
|
||||||
(depends
|
(depends
|
||||||
(moonpool (= :version))
|
(moonpool (= :version))
|
||||||
(ocaml (>= 5.0))
|
(ocaml (>= 5.0))
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,8 @@ type suspension_handler = {
|
||||||
|
|
||||||
[@@@ocaml.alert "-unstable"]
|
[@@@ocaml.alert "-unstable"]
|
||||||
|
|
||||||
|
module A = Atomic_
|
||||||
|
|
||||||
type _ Effect.t +=
|
type _ Effect.t +=
|
||||||
| Suspend : suspension_handler -> unit Effect.t
|
| Suspend : suspension_handler -> unit Effect.t
|
||||||
| Yield : unit Effect.t
|
| Yield : unit Effect.t
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue