sealed
trait
Bag[BAG[_]] extends AnyRef
Abstract Value Members
-
abstract
def
apply[A](a: ⇒ A): BAG[A]
-
abstract
def
createSerial(): Serial[BAG]
-
abstract
def
failure[A](exception: Throwable): BAG[A]
-
abstract
def
flatMap[A, B](fa: BAG[A])(f: (A) ⇒ BAG[B]): BAG[B]
-
abstract
def
foreach[A](a: BAG[A])(f: (A) ⇒ Unit): Unit
-
abstract
def
fromIO[E, A](a: IO[E, A])(implicit arg0: ExceptionHandler[E]): BAG[A]
-
abstract
def
map[A, B](a: BAG[A])(f: (A) ⇒ B): BAG[B]
-
abstract
def
none[A]: BAG[Option[A]]
-
abstract
def
success[A](value: A): BAG[A]
-
abstract
def
suspend[B](f: ⇒ BAG[B]): BAG[B]
-
abstract
def
transform[A, B](a: BAG[A])(f: (A) ⇒ B): BAG[B]
-
abstract
def
unit: BAG[Unit]
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
safe[B](f: ⇒ BAG[B]): BAG[B]
-
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
Bags are used to tag databases operations (side-effects) into types that can be used to build custom Sync and Async wrappers.