Safe

trait Safe[F[_]]

Typeclass for "safe" actions which are actions which can be attempted or finalized

Typeclass for "safe" actions which are actions which can be attempted or finalized

Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def attempt[A](fa: F[A]): F[Either[Throwable, A]]
def finalizeWith[A](fa: F[A], f: Finalizer): F[A]