createOrUpdate

open suspend override fun <T> createOrUpdate(property: Property<T>)(source)

Creates a new property or updates an existing one atomically.

Subclasses must implement this with atomic semantics to avoid TOCTOU (time-of-check-time-of-use) race conditions.

Parameters

property

The property to create or update.