Module Async_kernel__Job_or_event_intf
Job_or_event
is a custom zero-alloc sum type that is like:
| Event of Event.t
| Job of Job.t
except that it uses the fact that Event.t
is a pointer and Job.t
is an int to be zero alloc.
module Event = Async_kernel__.Types.Event
module type Job_or_event = sig ... end