!str #19732 Concise and consistent way to mark async boundaries
This commit is contained in:
parent
d154fad4e9
commit
4e49d75ad8
25 changed files with 125 additions and 194 deletions
|
|
@ -23,6 +23,11 @@ class MigrationsScala extends AkkaSpec {
|
|||
})
|
||||
})
|
||||
//#expand-state
|
||||
|
||||
//#async
|
||||
val flow = Flow[Int].map(_ + 1)
|
||||
Source(1 to 10).via(flow.async)
|
||||
//#async
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue