sealed
trait
Wrap[W[_]] extends AnyRef
Abstract Value Members
-
abstract
def
apply[A](a: ⇒ A): W[A]
-
abstract
def
collectFirst[A](previous: A, stream: Stream[A, W])(condition: (A) ⇒ Boolean): W[Option[A]]
-
abstract
def
failure[A](exception: Throwable): W[A]
-
abstract
def
flatMap[A, B](fa: W[A])(f: (A) ⇒ W[B]): W[B]
-
abstract
def
foldLeft[A, U](initial: U, after: Option[A], stream: Stream[A, W], drop: Int, take: Option[Int])(operation: (U, A) ⇒ U): W[U]
-
abstract
def
foreach[A, B](a: A)(f: (A) ⇒ B): Unit
-
abstract
def
map[A, B](a: A)(f: (A) ⇒ B): W[B]
-
abstract
def
none[A]: W[Option[A]]
-
abstract
def
success[A](value: A): W[A]
-
abstract
def
toFuture[A](a: W[A]): Future[A]
-
abstract
def
toIO[A](a: W[A], timeout: FiniteDuration): IO[A]
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
-
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
final
def
wait(): Unit
Deprecated Value Members
-
def
finalize(): Unit
Inherited from AnyRef
Inherited from Any
Wraps are used to wrap databases operations (side-effects) into types that can be used to build more declarative APIs.