set

open fun set(key: String, value: Value): Expected<String, None>

Set value for the specified key. If there is already value available for specified key then value will be updated. If existing value is the same a new value then no observer callback will be emitted.

Return

Nothing on success, otherwise a string describing an error.

Parameters

key

Key.

value

Value to be set.