Skip to content

Instantly share code, notes, and snippets.

@Softsapiens
Forked from brikis98/EnumerateeOperators.scala
Created January 16, 2014 12:02
Show Gist options
  • Save Softsapiens/8453805 to your computer and use it in GitHub Desktop.
Save Softsapiens/8453805 to your computer and use it in GitHub Desktop.
val e1: Enumeratee[String, String] = ...
val e2: Enumeratee[String, String] = ...
val e3: Enumeratee[String, String] = ...
val iteratee: Iteratee[String, String] = ...
// Compose the 3 Enumeratees together and apply the result to
// the Iteratee to get a new Iteratee
val filteredIteratee = e1 ><> e2 ><> e3 &> iteratee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment