Skip to content

//workflow/com.squareup.workflow1/renderChild

renderChild

[jvm]
Content
fun <PropsT, StateT, OutputT, ChildOutputT, ChildRenderingT> BaseRenderContext<PropsT, StateT, OutputT>.renderChild(child: Workflow<Unit, ChildOutputT, ChildRenderingT>, key: String = “”, handler: (ChildOutputT) -> WorkflowAction<PropsT, StateT, OutputT>): ChildRenderingT
More info

Convenience alias of BaseRenderContext.renderChild for workflows that don’t take props.

[jvm]
Content
fun <PropsT, ChildPropsT, StateT, OutputT, ChildRenderingT> BaseRenderContext<PropsT, StateT, OutputT>.renderChild(child: Workflow<ChildPropsT, Nothing, ChildRenderingT>, props: ChildPropsT, key: String = “”): ChildRenderingT
More info

Convenience alias of BaseRenderContext.renderChild for workflows that don’t emit output.

[jvm]
Content
fun <PropsT, StateT, OutputT, ChildRenderingT> BaseRenderContext<PropsT, StateT, OutputT>.renderChild(child: Workflow<Unit, Nothing, ChildRenderingT>, key: String = “”): ChildRenderingT
More info

Convenience alias of BaseRenderContext.renderChild for children that don’t take props or emit output.