Closed cgillum closed 2 years ago
Also @cgillum , I found a library (https://github.com/ReactiveX/RxJava) that is widely used to support asynchronous and event-based programs by using observable sequences. It seems much stronger and more flexible than the Completablefuture in java. Maybe in future, we can try to utilize it to strengthen our durable java functions.
Agreed we should look at potentially supporting RxJava. It's a 3rd party library, so we may want to consider making it an optional layer that sits on top of this core programming model, but it seems like a promising (no pun intended) idea given how popular it is. Thanks for this suggestion!
This PR adds the following:
OrchestratorYieldEvent
toOrchestratorBlockedEvent
, which feels like a more accurate nameNote that in order for the Azure Functions integration to work, two additional things are needed outside of this PR:
In a later PR, I plan to add a simple sample function. Once the above dependencies are available, we can also create a CI workflow that runs the Functions sample end-to-end.