Stopwatch

object Stopwatch
class Object
trait Matchable
class Any

Type members

Types

type Watch[F[_]] = F[Duration]

Value members

Concrete methods

def apply[F[_] : Sync](time: Watch[F])(f: Duration => F[Unit]): F[Unit]
def humanTime(d: Duration): String
def printTime[F[_] : Sync](msg: String, w: Watch[F]): F[Unit]
def show[F[_] : Sync](time: Watch[F])(f: String => F[Unit]): F[Unit]
def start[F[_] : Sync]: F[Watch[F]]
def wrap[F[_] : Sync, A](f: String => F[Unit])(fa: F[A]): F[A]