Node

abstract class Node(source)

Base retained node with phase invalidation only.

A newly constructed node is detached and unowned. The runtime may claim it once, keeps that claim through detachment and disposal, and retires it permanently after cleanup. Concrete behavior is expressed by capability interfaces. Nodes acquire external resources from lifecycle attachment, never from their constructors.

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun bindRuntime(session: UiSession? = null, callback: (DirtyMask) -> Unit): () -> Unit

Binds this never-owned node to a runtime invalidation callback.