tuweni / org.apache.tuweni.trie / MerkleTrie / removeAsync

removeAsync

open fun removeAsync(key: K): AsyncCompletion (source)

Deletes the value that corresponds to the specified key, if such a value exists.

Parameters

key - The key of the value to be deleted.

Return
A completion that will complete when the value has been removed.

open fun removeAsync(dispatcher: CoroutineDispatcher, key: K): AsyncCompletion (source)

Deletes the value that corresponds to the specified key, if such a value exists.

Parameters

key - The key of the value to be deleted.

dispatcher - The co-routine dispatcher for asynchronous tasks.

Return
A completion that will complete when the value has been removed.