observe

fun observe(callback: (String) -> Unit): AutoCloseable(source)

Installs the sole retained observer used by a runtime text-field node.

This privileged bridge is not an application event API. The returned release operation is idempotent and confined to the execution owner.

Return

an idempotent subscription release operation.

Parameters

callback

callback invoked synchronously after each distinct successful write.

Throws

when called from another execution owner or while another observer is live.