element

fun element(element: Element)(source)

Emits one immutable element description. The element is retained by this callback-lifetime scope without being copied, wrapped, registered, or dispatched by component type. The call must run under the scope's construction execution owner while its enclosing callback is active.

Parameters

element

immutable description to emit.

Throws

when called from another execution owner or after the callback has completed.