contents

context(_: Incarnation<T, P>, _: Node<T>)
open fun contents(block: context(Incarnation<T, P>) ContentContext.() -> Unit)

Configures the initial contents of the current node.

The block is executed with the current Incarnation available as a context receiver and with ContentContext as receiver, enabling concise content creation and assignment utilities.

Parameters

block

the configuration block for node contents.