abstract
class
Action[T, +R] extends (T) ⇒ R
Instance Constructors
-
new
Action()
Type Members
-
abstract
type
Self[T, +R] <: Action[T, R]
Abstract Value Members
-
abstract
def
apply(t: T): R
-
abstract
def
create[T, R](run: (T) ⇒ R): Self[T, R]
Concrete Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (Action[T, R], B)
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
def
andThen[A](g: (R) ⇒ A): (T) ⇒ A
-
final
def
asInstanceOf[T0]: T0
-
def
asTry: Self[T, Try[R]]
-
def
clone(): AnyRef
-
def
compose[A](g: (A) ⇒ T): (A) ⇒ R
-
def
ensuring(cond: (Action[T, R]) ⇒ Boolean, msg: ⇒ Any): Action[T, R]
-
def
ensuring(cond: (Action[T, R]) ⇒ Boolean): Action[T, R]
-
def
ensuring(cond: Boolean, msg: ⇒ Any): Action[T, R]
-
def
ensuring(cond: Boolean): Action[T, R]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
flatMap[S, Q](f: (R) ⇒ Self[S, Q]): Self[T with S, Q]
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
map[Q](f: (R) ⇒ Q): Self[T, Q]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
→[B](y: B): (Action[T, R], B)
Shadowed Implicit Value Members
-
val
self: Any
-
val
self: Any
Deprecated Value Members
-
def
x: Action[T, R]
-
def
x: Action[T, R]
Inherited from (T) ⇒ R
Inherited from AnyRef
Inherited from Any
Inherited by implicit conversion any2stringadd from
Action[T, R] to StringAdd
Inherited by implicit conversion any2stringfmt from
Action[T, R] to StringFormat
Inherited by implicit conversion any2ArrowAssoc from
Action[T, R] to ArrowAssoc[Action[T, R]]
Inherited by implicit conversion any2Ensuring from
Action[T, R] to Ensuring[Action[T, R]]
Abstract type for Actions. Allows separation of execution logic and resource usage management logic from composition logic.
Context type
Result type