!str #17090 add AsyncStage

This commit is contained in:
Roland Kuhn 2015-04-09 22:28:16 +02:00
parent ad3829cd74
commit 4c623fade7
66 changed files with 981 additions and 787 deletions

View file

@ -22,7 +22,7 @@ class FlowGraphCompileSpec extends AkkaSpec {
def op[In, Out]: () PushStage[In, Out] = { ()
new PushStage[In, Out] {
override def onPush(elem: In, ctx: Context[Out]): Directive =
override def onPush(elem: In, ctx: Context[Out]): SyncDirective =
ctx.push(elem.asInstanceOf[Out])
}
}