RenderContext
Properties
Accepts a single WorkflowAction, invokes that action by calling WorkflowAction.apply to update the current state, and optionally emits the returned output value if it is non-null.
Functions
Creates a function which builds a WorkflowAction from the given update function, and immediately passes it to actionSink. Handy for attaching event handlers to renderings.
Ensures child is running as a child of this workflow, and returns the result of its render
method.
Convenience alias of BaseRenderContext.renderChild for children that don't take props or emit output.
Convenience alias of BaseRenderContext.renderChild for workflows that don't emit output.
Convenience alias of BaseRenderContext.renderChild for workflows that don't take props.
Ensures sideEffect is running with the given key.
Ensures a LifecycleWorker is running. Since worker can't emit anything, it can't trigger any WorkflowActions.
Ensures worker is running. When the Worker emits an output, handler is called to determine the WorkflowAction to take. When the worker finishes, nothing happens (although another render pass may be triggered).