TomasMikula / libretto

Declarative concurrency and stream processing library for Scala
Mozilla Public License 2.0
196 stars 6 forks source link

Promises #102

Open TomasMikula opened 10 months ago

TomasMikula commented 10 months ago

Extend the language of workflows with promises, that is channels of communication between different parts of the same workflow.

Promises have to play well with cancellation: discarding the promised value before completion must propagate to and cancel the action that would complete the promise.