getAppWorkflowRuntimeConfig
Helper for Configuration for the workflow runtime in an application. This allows one to specify a project property from the gradle build to choose a runtime. e.g. add -Pworkflow.runtime=conflate
in your gradle build to build the conflate runtime into the application.
Note that this must be specified in the application built for any ui/integration tests. Call this function and pass the result to renderWorkflowIn as the RuntimeConfig parameter.
Current options (can be combined with -
characters, e.g. conflate-partial
):
conflate
Process all queued actions before passing rendering to the UI layer.stateChange
Only re-render when the state of some WorkflowNode has been changed by an action cascade.partial
Partial tree rendering, which only re-renders each Workflow node if: 1) its state changed; or 2) one of its descendant's state changed. (This option requiresstateChange
, and enables it as well.)stable
Enables stable event handlers (changes the default value of theremember
parameter ofRenderContext.eventHandler
functions fromfalse
totrue
)