Module Scheduler1.Job_or_event

include Async_kernel__.Job_or_event
include Async_kernel__.Job_or_event_intf.Job_or_event
type t = Async_kernel__.Types.Job_or_event.t
val of_event : Async_kernel__.Job_or_event_intf.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:

val sexp_of_t : Async_kernel__Job_or_event.t -> Sexplib0.Sexp.t