ClockLive

zio.Clock$.ClockLive$
object ClockLive extends Clock

Attributes

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

Members list

Type members

Inherited classlikes

trait UnsafeAPI

Attributes

Inherited from:
Clock
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def currentDateTime(implicit trace: Trace): UIO[OffsetDateTime]
def currentTime(unit: => TimeUnit)(implicit trace: Trace): UIO[Long]
def currentTime(unit: => ChronoUnit)(implicit trace: Trace, d: DummyImplicit): UIO[Long]
override def instant(implicit trace: Trace): UIO[Instant]

Attributes

Definition Classes
def javaClock(implicit trace: Trace): UIO[Clock]
override def localDateTime(implicit trace: Trace): UIO[LocalDateTime]

Attributes

Definition Classes
def nanoTime(implicit trace: Trace): UIO[Long]
def scheduler(implicit trace: Trace): UIO[Scheduler]
def sleep(duration: => Duration)(implicit trace: Trace): UIO[Unit]

Concrete fields

override val unsafe: UnsafeAPI