clear

@ApiStatus.Experimental
abstract suspend fun clear(key: StateKey<*>)

Clears the state stored under key.

Parameters

key

identifying the state to clear.

Throws

if called from a Shared handler