Object/Class

cats.data

StreamingT

Related Docs: class StreamingT | package data

Permalink

object StreamingT extends StreamingTInstances

Linear Supertypes
StreamingTInstances, StreamingTInstances1, StreamingTInstances2, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StreamingT
  2. StreamingTInstances
  3. StreamingTInstances1
  4. StreamingTInstances2
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply[F[_], A](a1: A, a2: A, as: A*)(implicit ev: Applicative[F]): StreamingT[F, A]

    Permalink

    Create a stream from two or more values.

  5. def apply[F[_], A](a: A)(implicit ev: Applicative[F]): StreamingT[F, A]

    Permalink

    Create a stream consisting of a single A value.

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def cons[F[_], A](a: A, fs: F[StreamingT[F, A]]): StreamingT[F, A]

    Permalink

    Create a stream from A and F[StreamingT[F, A]] values.

  9. def defer[F[_], A](s: ⇒ StreamingT[F, A])(implicit ev: Applicative[F]): StreamingT[F, A]

    Permalink

    Create a stream from an F[StreamingT[F, A]] value.

  10. def empty[F[_], A]: StreamingT[F, A]

    Permalink

    Create an empty stream of type A.

  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def fromList[F[_], A](as: List[A])(implicit ev: Applicative[F]): StreamingT[F, A]

    Permalink

    Create a stream from a list.

  15. def fromVector[F[_], A](as: Vector[A])(implicit ev: Applicative[F]): StreamingT[F, A]

    Permalink

    Create a stream from a vector.

  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def single[F[_], A](a: F[A])(implicit arg0: Applicative[F]): StreamingT[F, A]

    Permalink

    Create a stream consisting of a single F[A].

  23. implicit def streamingTEq[F[_], A](implicit ev: Monad[F], eva: Eq[F[List[A]]]): Eq[StreamingT[F, A]]

    Permalink
    Definition Classes
    StreamingTInstances2
  24. implicit def streamingTInstance[F[_]](implicit arg0: Monad[F]): MonadCombine[[β]StreamingT[F, β]] with CoflatMap[[β]StreamingT[F, β]]

    Permalink
    Definition Classes
    StreamingTInstances
  25. implicit def streamingTOrder[F[_], A](implicit ev: Monad[F], eva: Order[F[List[A]]]): Order[StreamingT[F, A]]

    Permalink
    Definition Classes
    StreamingTInstances
  26. implicit def streamingTPartialOrder[F[_], A](implicit ev: Monad[F], eva: PartialOrder[F[List[A]]]): PartialOrder[StreamingT[F, A]]

    Permalink
    Definition Classes
    StreamingTInstances1
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. object syntax

    Permalink

    Contains syntax for F[Streaming[F, A]].

    Contains syntax for F[Streaming[F, A]].

    To eanble this, say:

    import cats.data.StreamingT.syntax._

    This provides the %:: and %::: operators for prepending to an F[Streaming[F, A]] value, as well as a lazy Streaming[F, A] value. This mirrors the methods of the same name which can be used to prepend to a Streaming[F, A] value.

    In order to support laziness when using F[Streaming[F, A]] values, the type constructor F[_] must support laziness, and the F[Streaming[F, A]] value must be constructed lazily.

    For example, StreamingT[Option, ?] cannot support laziness, because Option[_] is eager.

    Additionally, x %:: Future.successful(xs) will not produce a lazy StreamT[Future, ?], since xs will already have been evaluated.

  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. def unfold[F[_], A](o: Option[A])(f: (A) ⇒ F[Option[A]])(implicit arg0: Functor[F]): StreamingT[F, A]

    Permalink

    Produce a stream given an "unfolding" function.

    Produce a stream given an "unfolding" function.

    None represents an empty stream. Some(a) reprsents an initial element, and we can compute the tail (if any) via f(a).

  31. def wait[F[_], A](fs: F[StreamingT[F, A]]): StreamingT[F, A]

    Permalink

    Create a stream from an F[StreamingT[F, A]] value.

  32. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from StreamingTInstances

Inherited from StreamingTInstances1

Inherited from StreamingTInstances2

Inherited from AnyRef

Inherited from Any

Ungrouped