Module type Async_kernel__Job_or_event_intf.Job_or_event

type t = Async_kernel__.Types.Job_or_event.t
val of_event : Event.t -> t
val of_job : Async_kernel__.Job.t -> t
val is_event : t -> bool
val is_job : t -> bool
module Match : sig ... end

Idiomatic usage of Match is: