Compose this Enumerator with an Enumeratee.
Compose this Enumerator with an Enumeratee. Alias for through
Alias for interleave
Alias for interleave
Alias for andThen
Alias for andThen
Sequentially combine this Enumerator with another Enumerator.
Sequentially combine this Enumerator with another Enumerator. The resulting enumerator will produce both input streams, this one first, then the other. Note: the current implementation will break if the first enumerator produces an Input.EOF.
Attaches this Enumerator to an play.api.libs.iteratee.Iteratee, driving the Iteratee to (asynchronously) consume the input.
Attaches this Enumerator to an play.api.libs.iteratee.Iteratee, driving the Iteratee to (asynchronously) consume the input. The Iteratee may enter its play.api.libs.iteratee.Done or play.api.libs.iteratee.Error state, or it may be left in a play.api.libs.iteratee.Cont state (allowing it to consume more input after that sent by the enumerator).
If the Iteratee reaches a play.api.libs.iteratee.Done state, it will contain a computed result and the remaining (unconsumed) input.
flatmaps the given function f onto parent Enumerator
flatmaps the given function f onto parent Enumerator
function to map
enumerator
maps the given function f onto parent Enumerator
maps the given function f onto parent Enumerator
function to map
enumerator
Alias for |>>>
; drives the iteratee to consume the enumerator's
input, adding an Input.
Alias for |>>>
; drives the iteratee to consume the enumerator's
input, adding an Input.EOF at the end of the input. Returns either a result
or an exception.
Compose this Enumerator with an Enumeratee
Compose this Enumerator with an Enumeratee
Alias for apply
, produces input driving the given play.api.libs.iteratee.Iteratee
to consume it.
Alias for apply
, produces input driving the given play.api.libs.iteratee.Iteratee
to consume it.
Attaches this Enumerator to an play.api.libs.iteratee.Iteratee, driving the Iteratee to (asynchronously) consume the enumerator's input.
Attaches this Enumerator to an play.api.libs.iteratee.Iteratee, driving the
Iteratee to (asynchronously) consume the enumerator's input. If the Iteratee does not
reach a play.api.libs.iteratee.Done or play.api.libs.iteratee.Error
state when the Enumerator finishes, this method forces one of those states by
feeding Input.EOF
to the Iteratee.
If the iteratee is left in a play.api.libs.iteratee.Done state then the promise is completed with the iteratee's result. If the iteratee is left in an play.api.libs.iteratee.Error state, then the promise is completed with a java.lang.RuntimeException containing the iteratee's error message.
Unlike apply
or |>>
, this method does not allow you to access the
unconsumed input.
A variation on apply
or |>>
which returns the state of the iteratee rather
than the iteratee itself.
A variation on apply
or |>>
which returns the state of the iteratee rather
than the iteratee itself. This can make your code a little shorter.
(Since version 2.1.0) use Concurrent.broadcast instead