GossipClock

org.sigilaris.node.gossip.GossipClock
See theGossipClock companion trait
object GossipClock

Companion for GossipClock providing factory methods.

Attributes

Companion
trait
Source
Contracts.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def constant[F[_] : Applicative](instant: Instant): GossipClock[F]

Creates a clock that always returns the given fixed instant.

Creates a clock that always returns the given fixed instant.

Type parameters

F

the effect type

Value parameters

instant

the constant instant to return

Attributes

Returns

a fixed-time gossip clock

Source
Contracts.scala