trait Write[F[_]] extends AnyRef
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Write
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
implicit abstract
def
F: Async[F]
- Attributes
- protected
-
abstract
def
rawPut[A](pureOrLazy: Either[A, Resource[F, A]], label: Option[String])(implicit rt: ResourceTag[A]): F[Unit]
- Attributes
- protected
Concrete 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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[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()
- def put[A](value: A, label: Option[String] = None)(implicit rt: ResourceTag[A]): F[Unit]
-
def
putLazy[A](resource: Resource[F, A], label: Option[String] = None)(implicit rt: ResourceTag[A]): F[Unit]
Memoises a resource so to optimise its sharing.
Memoises a resource so to optimise its sharing. The memoised resource gets allocated lazily, when the first suite that needs it starts running, and gets finalised as soon as all suites that need it concurrently are done.
In case the resource was already finalised when a suite needs, it gets re-allocated on demand.
This can be useful for constructs that consume large amount of machine resources (CPU, memory, connections), to ensure they are cleaned-up when they should.
- def putLazyR[A](resource: Resource[F, A], label: Option[String] = None)(implicit rt: ResourceTag[A]): Resource[F, Unit]
- def putR[A](value: A, label: Option[String] = None)(implicit rt: ResourceTag[A]): Resource[F, Unit]
-
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
- @throws( ... ) @native()