implicit final class AsynchronousDoOps[A] extends AnyRef
- Alphabetic
- By Inheritance
- AsynchronousDoOps
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from AsynchronousDoOps[A] to any2stringadd[AsynchronousDoOps[A]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (AsynchronousDoOps[A], B)
- Implicit
- This member is added by an implicit conversion from AsynchronousDoOps[A] to ArrowAssoc[AsynchronousDoOps[A]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def acquire: Future[Resource[UnitContinuation, A]]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
ensuring(cond: (AsynchronousDoOps[A]) ⇒ Boolean, msg: ⇒ Any): AsynchronousDoOps[A]
- Implicit
- This member is added by an implicit conversion from AsynchronousDoOps[A] to Ensuring[AsynchronousDoOps[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (AsynchronousDoOps[A]) ⇒ Boolean): AsynchronousDoOps[A]
- Implicit
- This member is added by an implicit conversion from AsynchronousDoOps[A] to Ensuring[AsynchronousDoOps[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): AsynchronousDoOps[A]
- Implicit
- This member is added by an implicit conversion from AsynchronousDoOps[A] to Ensuring[AsynchronousDoOps[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): AsynchronousDoOps[A]
- Implicit
- This member is added by an implicit conversion from AsynchronousDoOps[A] to Ensuring[AsynchronousDoOps[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from AsynchronousDoOps[A] to StringFormat[AsynchronousDoOps[A]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
intransitiveFlatMap[B](f: (A) ⇒ Do[B]): Do[B]
Returns a
Do
ofB
based on aDo
ofA
and a function that creates aDo
ofB
, whenB
will not reference toA
, orA
is a garbage collected object without additional release action.Returns a
Do
ofB
based on aDo
ofA
and a function that creates aDo
ofB
, whenB
will not reference toA
, orA
is a garbage collected object without additional release action.- Note
intransitiveFlatMap
is similar toflatMap
in asynchronousDoMonadErrorInstances. WhereasintransitiveFlatMap
will releaseA
right afterB
is created, if there is a release action associated withA
,flatMap
will releaseA
right afterB
is released. Don't use this method if you need to retainA
untilB
is released.
-
def
intransitiveMap[B](f: (A) ⇒ B): Do[B]
Returns a
Do
ofB
based on aDo
ofA
and a function that createsB
, whenB
will not reference toA
, orA
is a garbage collected object without additional release action.Returns a
Do
ofB
based on aDo
ofA
and a function that createsB
, whenB
will not reference toA
, orA
is a garbage collected object without additional release action.- Note
intransitiveMap
is similar tomap
in asynchronousDoMonadErrorInstances. WhereasintransitiveMap
will releaseA
right afterB
is created if there is a release action associated withA
,map
will releaseA
right afterB
is released. Don't use this method if you need to retainA
untilB
is released.
-
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 onComplete(continue: (Resource[UnitContinuation, Try[A]]) ⇒ Unit): Unit
-
def
run: Future[A]
Returns a
Future
ofA
, which will openA
and release all resources during openingA
.Returns a
Future
ofA
, which will openA
and release all resources during openingA
.- Note
A
itself must be garbageCollected(i.e. does not have clean up operation), thoughA
may use some non-garbage-collected resources during openingA
.
- def safeOnComplete(continue: (Resource[UnitContinuation, Try[A]]) ⇒ Trampoline[Unit]): Trampoline[Unit]
-
def
shared: Do[A]
Converts
asynchronousDo
to a reference counted wrapper. -
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( ... )
-
def
→[B](y: B): (AsynchronousDoOps[A], B)
- Implicit
- This member is added by an implicit conversion from AsynchronousDoOps[A] to ArrowAssoc[AsynchronousDoOps[A]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc