RenderContext
fun <PropsT, StateT, OutputT, RenderingT> RenderContext(baseContext: BaseRenderContext<PropsT, StateT, OutputT>, workflow: StatefulWorkflow<PropsT, StateT, OutputT, RenderingT>): StatefulWorkflow.RenderContext<PropsT, StateT, OutputT, RenderingT>(source)
Creates a RenderContext
from a BaseRenderContext for the given StatefulWorkflow.
fun <PropsT, OutputT, RenderingT> RenderContext(baseContext: BaseRenderContext<PropsT, *, OutputT>, workflow: StatelessWorkflow<PropsT, OutputT, RenderingT>): StatelessWorkflow.RenderContext<PropsT, OutputT, RenderingT>(source)
Creates a RenderContext
from a BaseRenderContext for the given StatelessWorkflow.