class IterantBuildersSync[F[_]] extends IterantBuildersApplicative[F]
Class defining curried Iterant builders for data types that
implement cats.effect.Sync.
So instead of having to do:
Iterant.eval[Task, Int](1 + 1)
You can do:
Iterant[Task].eval(1 + 1)
- Alphabetic
- By Inheritance
- IterantBuildersSync
- IterantBuildersApplicative
- IterantBuilders
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new IterantBuildersSync()(implicit F: Sync[F])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
bracket[A, B](acquire: F[A])(use: (A) ⇒ Iterant[F, B], release: (A) ⇒ F[Unit])(implicit F: Sync[F]): Iterant[F, B]
Aliased builder, see documentation for Iterant.bracket
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
defer[A](fa: ⇒ Iterant[F, A])(implicit F: Sync[F]): Iterant[F, A]
Aliased builder, see documentation for Iterant.defer.
-
def
empty[A]: Iterant[F, A]
Aliased builder, see documentation for Iterant.empty.
Aliased builder, see documentation for Iterant.empty.
- Definition Classes
- IterantBuilders
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
eval[A](a: ⇒ A)(implicit F: Sync[F]): Iterant[F, A]
Aliased builder, see documentation for Iterant.eval.
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromArray[A](xs: Array[A])(implicit arg0: ClassTag[A]): Iterant[F, A]
Aliased builder, see documentation for Iterant.fromArray.
Aliased builder, see documentation for Iterant.fromArray.
- Definition Classes
- IterantBuildersApplicative
-
def
fromIndexedSeq[A](xs: IndexedSeq[A]): Iterant[F, A]
Aliased builder, see documentation for Iterant.fromIndexedSeq.
Aliased builder, see documentation for Iterant.fromIndexedSeq.
- Definition Classes
- IterantBuildersApplicative
-
def
fromIterable[A](xs: Iterable[A]): Iterant[F, A]
Aliased builder, see documentation for Iterant.fromIterable.
Aliased builder, see documentation for Iterant.fromIterable.
- Definition Classes
- IterantBuildersApplicative
-
def
fromIterator[A](xs: Iterator[A]): Iterant[F, A]
Aliased builder, see documentation for Iterant.fromIterator.
Aliased builder, see documentation for Iterant.fromIterator.
- Definition Classes
- IterantBuildersApplicative
-
def
fromList[A](xs: LinearSeq[A]): Iterant[F, A]
Aliased builder, see documentation for Iterant.fromList.
Aliased builder, see documentation for Iterant.fromList.
- Definition Classes
- IterantBuildersApplicative
-
def
fromSeq[A](xs: Seq[A]): Iterant[F, A]
Aliased builder, see documentation for Iterant.fromSeq.
Aliased builder, see documentation for Iterant.fromSeq.
- Definition Classes
- IterantBuildersApplicative
-
def
fromStateAction[S, A](f: (S) ⇒ (A, S))(seed: ⇒ S)(implicit F: Sync[F]): Iterant[F, A]
Aliased builder, see documentation for Iterant.fromStateAction.
-
def
fromStateActionL[S, A](f: (S) ⇒ F[(A, S)])(seed: ⇒ F[S])(implicit F: Sync[F]): Iterant[F, A]
Aliased builder, see documentation for Iterant.fromStateActionL.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
haltS[A](e: Option[Throwable]): Iterant[F, A]
Aliased builder, see documentation for Iterant.haltS.
Aliased builder, see documentation for Iterant.haltS.
- Definition Classes
- IterantBuilders
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lastS[A](item: A): Iterant[F, A]
Aliased builder, see documentation for Iterant.lastS.
Aliased builder, see documentation for Iterant.lastS.
- Definition Classes
- IterantBuilders
-
def
liftF[A](a: F[A]): Iterant[F, A]
Aliased builder, see documentation for Iterant.liftF.
Aliased builder, see documentation for Iterant.liftF.
- Definition Classes
- IterantBuildersApplicative
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
nextBatchS[A](batch: Batch[A], rest: F[Iterant[F, A]], stop: F[Unit]): Iterant[F, A]
Aliased builder, see documentation for Iterant.nextBatchS.
Aliased builder, see documentation for Iterant.nextBatchS.
- Definition Classes
- IterantBuilders
-
def
nextCursorS[A](cursor: BatchCursor[A], rest: F[Iterant[F, A]], stop: F[Unit]): Iterant[F, A]
Aliased builder, see documentation for Iterant.nextCursorS.
Aliased builder, see documentation for Iterant.nextCursorS.
- Definition Classes
- IterantBuilders
-
def
nextS[A](item: A, rest: F[Iterant[F, A]], stop: F[Unit]): Iterant[F, A]
Aliased builder, see documentation for Iterant.nextS.
Aliased builder, see documentation for Iterant.nextS.
- Definition Classes
- IterantBuilders
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
now[A](a: A): Iterant[F, A]
Aliased builder, see documentation for Iterant.now.
Aliased builder, see documentation for Iterant.now.
- Definition Classes
- IterantBuilders
-
def
of[A](elems: A*): Iterant[F, A]
Given a list of elements build a stream out of it.
Given a list of elements build a stream out of it.
- Definition Classes
- IterantBuildersApplicative
-
def
pure[A](a: A): Iterant[F, A]
Aliased builder, see documentation for Iterant.pure.
Aliased builder, see documentation for Iterant.pure.
- Definition Classes
- IterantBuilders
-
def
raiseError[A](ex: Throwable): Iterant[F, A]
Aliased builder, see documentation for Iterant.raiseError.
Aliased builder, see documentation for Iterant.raiseError.
- Definition Classes
- IterantBuilders
-
def
range(from: Int, until: Int, step: Int = 1): Iterant[F, Int]
Aliased builder, see documentation for Iterant.range.
Aliased builder, see documentation for Iterant.range.
- Definition Classes
- IterantBuildersApplicative
-
def
repeat[A](elems: A*)(implicit F: Sync[F]): Iterant[F, A]
Aliased builder, see documentation for Iterant.repeat.
-
def
repeatEval[A](thunk: ⇒ A)(implicit F: Sync[F]): Iterant[F, A]
Aliased builder, see documentation for Iterant.repeatEval.
-
def
repeatEvalF[A](fa: F[A])(implicit F: Sync[F]): Iterant[F, A]
Aliased builder, see documentation for Iterant.repeatEvalF.
-
def
suspend[A](fa: ⇒ Iterant[F, A])(implicit F: Sync[F]): Iterant[F, A]
Aliased builder, see documentation for Iterant.suspend.
-
def
suspend[A](rest: F[Iterant[F, A]]): Iterant[F, A]
Aliased builder, see documentation for Iterant.suspend.
Aliased builder, see documentation for Iterant.suspend.
- Definition Classes
- IterantBuildersApplicative
-
def
suspendS[A](rest: F[Iterant[F, A]], stop: F[Unit]): Iterant[F, A]
Aliased builder, see documentation for Iterant.suspendS.
Aliased builder, see documentation for Iterant.suspendS.
- Definition Classes
- IterantBuilders
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tailRecM[A, B](a: A)(f: (A) ⇒ Iterant[F, Either[A, B]])(implicit F: Sync[F]): Iterant[F, B]
Aliased builder, see documentation for Iterant.tailRecM.
-
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( ... )