module ScheduledFuture: sig .. end
Computations run in background with a delay.
type 'a t
The type of futures, that are computations run in background with a
delay.
val cancel : 'a t -> bool -> bool
val is_cancelled : 'a t -> bool
val is_done : 'a t -> bool
val get_delay : 'a t -> TimeUnit.t -> int64
Returns the remaining delay for the computation, in the passed time
unit.