ClockLive

zio.Clock.ClockLive
object ClockLive extends Clock

Attributes

Source
Clock.scala
Graph
Supertypes
trait Clock
trait Serializable
class Object
trait Matchable
class Any
Self type
ClockLive.type

Members list

Type members

Inherited classlikes

trait UnsafeAPI extends Serializable

Attributes

Inherited from:
Clock
Source
Clock.scala
Supertypes
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

def currentDateTime(implicit trace: Trace): UIO[OffsetDateTime]

Attributes

Source
Clock.scala
def currentTime(unit: => TimeUnit)(implicit trace: Trace): UIO[Long]

Attributes

Source
Clock.scala
def currentTime(unit: => ChronoUnit)(implicit trace: Trace, d: DummyImplicit): UIO[Long]

Attributes

Source
Clock.scala
override def instant(implicit trace: Trace): UIO[Instant]

Attributes

Definition Classes
Source
Clock.scala
def javaClock(implicit trace: Trace): UIO[Clock]

Attributes

Source
Clock.scala
override def localDateTime(implicit trace: Trace): UIO[LocalDateTime]

Attributes

Definition Classes
Source
Clock.scala
def nanoTime(implicit trace: Trace): UIO[Long]

Attributes

Source
Clock.scala
def scheduler(implicit trace: Trace): UIO[Scheduler]

Attributes

Source
Clock.scala
def sleep(duration: => Duration)(implicit trace: Trace): UIO[Unit]

Attributes

Source
Clock.scala

Concrete fields

override val unsafe: UnsafeAPI

Attributes

Source
Clock.scala