rssh / scala-gopher

Implementation of CSP constructions (Communication Sequence Process, i.e. go-like channels) in scala
Apache License 2.0
199 stars 7 forks source link

implement lifting up async from nested functions #10

Closed rssh closed 3 years ago

rssh commented 8 years ago

Implement api which will allow to use async operations inside inline closures inside well-known hight-order functional API.

x.foreach( channel.write(x) )

to

x.foreachAsync(Async(channel.write(x)))
rssh commented 8 years ago

partially implemented (for iterable.foreach now, other will follow)

rssh commented 3 years ago

Fully implemented in dotty-cps-async