Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Enumerator.run

  • Loading branch information...
commit acc87cb86e3faf16bebde079b063c679da64a0b1 1 parent 17c750b
Sadek Drobi authored
2  framework/src/play/src/main/scala/play/api/libs/iteratee/Enumerator.scala
@@ -22,6 +22,8 @@ trait Enumerator[E] {
22 22
23 23 def |>>>[A](i: Iteratee[E, A]): Promise[A] = apply(i).flatMap(_.run)
24 24
  25 + def run[A](i: Iteratee[E, A]): Promise[A] = |>>>(i)
  26 +
25 27 def |>>|[A](i: Iteratee[E, A]): Promise[Step[E,A]] = apply(i).flatMap(_.unflatten)
26 28
27 29 /**

0 comments on commit acc87cb

Please sign in to comment.
Something went wrong with that request. Please try again.