tuweni / org.apache.tuweni.kv / KeyValueStore / putAsync

putAsync

open fun putAsync(key: K, value: V): AsyncCompletion (source)

Puts data into the store.

Note: if the storage implementation already contains content for the given key, it does not need to replace the existing content.

Parameters

key - The key to associate with the data, for use when retrieving.

value - The data to store.

Return
An AsyncCompletion that will complete when the content is stored.