final class BracketOps[F[_], E, A] extends AnyVal
- Source
- BracketSyntax.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- BracketOps
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new BracketOps(self: F[A])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bracket[B](use: (A) => F[B])(release: (A) => F[Unit])(implicit F: Bracket[F, E]): F[B]
- def bracketCase[B](use: (A) => F[B])(release: (A, ExitCase[E]) => F[Unit])(implicit F: Bracket[F, E]): F[B]
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def guarantee(finalizer: F[Unit])(implicit F: Bracket[F, E]): F[A]
- def guaranteeCase(finalizer: (ExitCase[E]) => F[Unit])(implicit F: Bracket[F, E]): F[A]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def onCancel(finalizer: F[Unit])(implicit F: Bracket[F, E]): F[A]
- val self: F[A]
- def toString(): String
- Definition Classes
- Any
- def uncancelable(implicit F: Bracket[F, E]): F[A]
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):