scala-async
scala-async copied to clipboard
An asynchronous programming facility for Scala
Just wondering if anybody had taken a look at how/if scala-async might work in Scala 3, given that the Scala 2 macro system as we know it will not survive?...
For golang , we can execute go routine , and leave it . the request can be done early, but the background go routine will continue execute. for a short...
Hi, when you run code ```scala object Main { implicit val syncExecutor : ExecutionContext = new ExecutionContext { override def execute(runnable: Runnable): Unit = runnable.run() override def reportFailure(cause: Throwable): Unit...
- Annotated example of the translated code - How to integrate other future systems - Compare / contrast with applicative DSL approaches like `monadless` / `effectful`
Why not support awaitable operations inside try block, by translating try{ F } catch { G } finally { H } to something like: async(F).recoverWith(G).onComplete(H) ?
Hi, I think in case of (sequential) collections this code ``` scala for (x ← xs) { ... async ... } ``` could be rewritten into ``` scala val it...
It is a well known issue with for-comprehensions where the futures in the code block below are not executed as parallel as possible: ``` scala for { val1
When an asynchronous operation that is a part of another asynchronous operation fails, it would be very helpful to get a full stacktrace from the topmost async to the bottommost...
We look with interest on using async/await as a general approach for working with futures in our project. We did some tests on the library but found out that it...