object IterantOfTask extends IterantBuilders[Task]
Defines builders for Iterant instances powered by Task.
- Alphabetic
- By Inheritance
- IterantOfTask
- IterantBuilders
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
defer[A](fa: ⇒ Iterant[Task, A])(implicit F: Sync[Task]): Iterant[Task, A]
Aliased builder, see documentation for Iterant.defer.
Aliased builder, see documentation for Iterant.defer.
- Definition Classes
- IterantBuilders
-
def
empty[A]: Iterant[Task, 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[Task]): Iterant[Task, A]
Aliased builder, see documentation for Iterant.eval.
Aliased builder, see documentation for Iterant.eval.
- Definition Classes
- IterantBuilders
-
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], F: Applicative[Task]): Iterant[Task, A]
Aliased builder, see documentation for Iterant.fromArray.
Aliased builder, see documentation for Iterant.fromArray.
- Definition Classes
- IterantBuilders
-
def
fromIndexedSeq[A](xs: IndexedSeq[A])(implicit F: Applicative[Task]): Iterant[Task, A]
Aliased builder, see documentation for Iterant.fromIndexedSeq.
Aliased builder, see documentation for Iterant.fromIndexedSeq.
- Definition Classes
- IterantBuilders
-
def
fromIterable[A](xs: Iterable[A])(implicit F: Applicative[Task]): Iterant[Task, A]
Aliased builder, see documentation for Iterant.fromIterable.
Aliased builder, see documentation for Iterant.fromIterable.
- Definition Classes
- IterantBuilders
-
def
fromIterator[A](xs: Iterator[A])(implicit F: Applicative[Task]): Iterant[Task, A]
Aliased builder, see documentation for Iterant.fromIterator.
Aliased builder, see documentation for Iterant.fromIterator.
- Definition Classes
- IterantBuilders
-
def
fromList[A](xs: LinearSeq[A])(implicit F: Applicative[Task]): Iterant[Task, A]
Aliased builder, see documentation for Iterant.fromList.
Aliased builder, see documentation for Iterant.fromList.
- Definition Classes
- IterantBuilders
-
def
fromSeq[A](xs: Seq[A])(implicit F: Applicative[Task]): Iterant[Task, A]
Aliased builder, see documentation for Iterant.fromSeq.
Aliased builder, see documentation for Iterant.fromSeq.
- Definition Classes
- IterantBuilders
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
haltS[A](e: Option[Throwable]): Iterant[Task, 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
-
def
intervalWithFixedDelay(initialDelay: FiniteDuration, delay: FiniteDuration): Iterant[Task, Long]
Creates an iterant that emits auto-incremented natural numbers (longs) spaced by a given time interval.
Creates an iterant that emits auto-incremented natural numbers (longs) spaced by a given time interval. Starts from 0 with no delay, after which it emits incremented numbers spaced by the
period
of time. The givenperiod
of time acts as a fixed delay between successive events.- initialDelay
is the delay to wait before emitting the first event
- delay
the time to wait between 2 successive events
-
def
intervalWithFixedDelay(delay: FiniteDuration): Iterant[Task, Long]
Creates an iterant that emits auto-incremented natural numbers (longs) spaced by a given time interval.
Creates an iterant that emits auto-incremented natural numbers (longs) spaced by a given time interval. Starts from 0 with no delay, after which it emits incremented numbers spaced by the
period
of time. The givenperiod
of time acts as a fixed delay between successive events.Without having an initial delay specified, this overload will immediately emit the first item, without any delays.
- delay
the time to wait between 2 successive events
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lastS[A](item: A): Iterant[Task, A]
Aliased builder, see documentation for Iterant.lastS.
Aliased builder, see documentation for Iterant.lastS.
- Definition Classes
- IterantBuilders
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
nextBatchS[A](batch: Batch[A], rest: Task[Iterant[Task, A]], stop: Task[Unit]): Iterant[Task, 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: Task[Iterant[Task, A]], stop: Task[Unit]): Iterant[Task, A]
Aliased builder, see documentation for Iterant.nextCursorS.
Aliased builder, see documentation for Iterant.nextCursorS.
- Definition Classes
- IterantBuilders
-
def
nextS[A](item: A, rest: Task[Iterant[Task, A]], stop: Task[Unit]): Iterant[Task, 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
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
now[A](a: A): Iterant[Task, A]
Aliased builder, see documentation for Iterant.now.
Aliased builder, see documentation for Iterant.now.
- Definition Classes
- IterantBuilders
-
def
of[A](elems: A*)(implicit F: Applicative[Task]): Iterant[Task, 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
- IterantBuilders
-
def
pure[A](a: A): Iterant[Task, A]
Aliased builder, see documentation for Iterant.pure.
Aliased builder, see documentation for Iterant.pure.
- Definition Classes
- IterantBuilders
-
def
raiseError[A](ex: Throwable): Iterant[Task, 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)(implicit F: Applicative[Task]): Iterant[Task, Int]
Aliased builder, see documentation for Iterant.range.
Aliased builder, see documentation for Iterant.range.
- Definition Classes
- IterantBuilders
-
def
suspend[A](rest: Task[Iterant[Task, A]])(implicit F: Applicative[Task]): Iterant[Task, A]
Aliased builder, see documentation for Iterant.suspend.
Aliased builder, see documentation for Iterant.suspend.
- Definition Classes
- IterantBuilders
-
def
suspend[A](fa: ⇒ Iterant[Task, A])(implicit F: Sync[Task]): Iterant[Task, A]
Aliased builder, see documentation for Iterant.suspend.
Aliased builder, see documentation for Iterant.suspend.
- Definition Classes
- IterantBuilders
-
def
suspendS[A](rest: Task[Iterant[Task, A]], stop: Task[Unit]): Iterant[Task, 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[Task, Either[A, B]])(implicit F: Sync[Task]): Iterant[Task, B]
Aliased builder, see documentation for Iterant.tailRecM.
Aliased builder, see documentation for Iterant.tailRecM.
- Definition Classes
- IterantBuilders
-
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
- @throws( ... )