You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current version of the PromiseHandler that returns the result of the workflow can be named ResultHandler or something like that instead, as a simple instance of the PromiseHandler.
New PromiseHandler
ResultHandler
CounterHandler
New PromiseHandleFactory
ResultHandleFactory
New CounterHandlerFactory
Resolve things that break in ProcessExecutor.scala and anywhere else
The text was updated successfully, but these errors were encountered:
PromiseHandler
currently only returns the result of the overall workflow.The
CounterHandler
introduced in 0488604 is a good example of how promises can be used to return different things.It would be nice to generalize the
PromiseHandler
so that it is simpler to implement handlers that need to return stuff.So you can implement the
CounterHandler
like this:The current version of the
PromiseHandler
that returns the result of the workflow can be namedResultHandler
or something like that instead, as a simple instance of thePromiseHandler
.PromiseHandler
ResultHandler
CounterHandler
PromiseHandleFactory
ResultHandleFactory
CounterHandlerFactory
ProcessExecutor.scala
and anywhere elseThe text was updated successfully, but these errors were encountered: