Module Distributed_dsl.Fake_timer_transport
Parameters
module Peer : sig ... end
Signature
val send :
t ->
recipient:Peer.t ->
Message.t ->
unit Core_kernel.Or_error.t Async_kernel.Deferred.t
val equal_tok : tok -> tok -> bool
val wait :
t ->
Core_kernel.Time.Span.t ->
tok * [ `Cancelled | `Finished ] Async_kernel.Deferred.t
val cancel : t -> tok -> unit
include Temporal_intf with type t := t
val create : now:Core_kernel.Time.Span.t -> t
val tick_forwards : t -> unit Async_kernel.Deferred.t
val stop_listening : t -> me:Peer.t -> unit