AhcStream

class AhcStream[A](publisher: Publisher[A]) extends Stream[A]
class Stream[A]
class Object
trait Matchable
class Any

Value members

Concrete methods

def fold[B](zero: B)(f: (B, A) => B): Future[B]

Runs f on each element received to the stream with its previous output.

Runs f on each element received to the stream with its previous output.

def foldResource[B](zero: B)(f: (B, A) => B, close: () => Unit): Future[B]

Runs f on each element received to the stream with its previous output and does closing operation .

Runs f on each element received to the stream with its previous output and does closing operation .

def foreach(f: A => Unit): Future[Unit]

Runs f on each element received to the stream.

Runs f on each element received to the stream.

def reduce(f: (A, A) => A): Future[A]

Runs f on each element received to the stream with its previous output.

Runs f on each element received to the stream with its previous output.

def toPublisher: Publisher[A]
override
def underlying[B]: B
Returns

The underlying Stream object.

Definition Classes
Stream