pragmatrix / Mom

MOnadic Machines: F# computation expressions and combinators for deterministic coordination, simulation, and testing of concurrent processes.
1 stars 0 forks source link

Yield is not required anymore. #6

Closed pragmatrix closed 8 years ago

pragmatrix commented 8 years ago

The Yield command inside computation expressions is not required anymore. do! IVR.post [command] does the same thing as yield [command] and should be the only way to issue one-way runtime service notifications. Yield seemed to be convenient, but experience shows that functions that communicate with the services are getting refactored into processes anyway to improve composability and to hide their implementation.