object Clock
- Source
- Clock.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Clock
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[F[_]](implicit ev: Clock[F]): Clock[F]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
create[F[_]](implicit F: Sync[F]): Clock[F]
Provides Clock instance for any
F
that hasSync
defined -
implicit
def
deriveEitherT[F[_], L](implicit F: Functor[F], clock: Clock[F]): Clock[[γ$0$]EitherT[F, L, γ$0$]]
Derives a Clock instance for
cats.data.EitherT
, given we have one forF[_]
. -
implicit
def
deriveIorT[F[_], L](implicit F: Applicative[F], clock: Clock[F]): Clock[[γ$10$]IorT[F, L, γ$10$]]
Derives a Clock instance for
cats.data.IorT
, given we have one forF[_]
. -
implicit
def
deriveKleisli[F[_], R](implicit clock: Clock[F]): Clock[[γ$8$]Kleisli[F, R, γ$8$]]
Derives a Clock instance for
cats.data.Kleisli
, given we have one forF[_]
. -
implicit
def
deriveOptionT[F[_]](implicit F: Functor[F], clock: Clock[F]): Clock[[β$2$]OptionT[F, β$2$]]
Derives a Clock instance for
cats.data.OptionT
, given we have one forF[_]
. -
implicit
def
deriveStateT[F[_], S](implicit F: Applicative[F], clock: Clock[F]): Clock[[γ$4$]IndexedStateT[F, S, S, γ$4$]]
Derives a Clock instance for
cats.data.StateT
, given we have one forF[_]
. -
implicit
def
deriveWriterT[F[_], L](implicit F: Applicative[F], L: Monoid[L], clock: Clock[F]): Clock[[γ$6$]WriterT[F, L, γ$6$]]
Derives a Clock instance for
cats.data.WriterT
, given we have one forF[_]
. -
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
implicit
def
extractFromTimer[F[_]](implicit timer: Timer[F]): Clock[F]
Default implicit instance — given there's an implicit Timer in scope, extracts a Clock instance from it.
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
This is the API documentation for the cats-effect library.
See the cats.effect package for a quick overview.
Links
Canonical documentation links:
Related Cats links (the core):