unregister

suspend fun unregister(descriptor: K): Boolean

Attempts to register the value with the given descriptor.

If the descriptor isn't present, it will return a failed Result. If the descriptor isn't registered, it will return a failed Result.

Return

If the value was successfully unregistered.

Parameters

descriptor

The descriptor to unregister the value with.