setAsync

fun <T> Context.setAsync(key: Preferences.Key<T>, value: T): Job

Updates the value at key with value in the IO thread.

Author

Arnau Mora

Since

20220829

See also

Parameters

key

The preferences key to update.

value

The value to set at key.