forgetValue

abstract fun forgetValue(key: String)(source)

Releases the values stored under key, dispatching forget callbacks to any that observe them. The single-key counterpart to forgetUnclaimedValues.

Unlike consumeValue the values are retired rather than handed back, so this is the correct call when a key will never be restored again.

Parameters

key

Key used to save the values