SetAsync<T>(string, T, Nullable<TimeSpan>)

public ValueTask SetAsync<T>(string key, T value, Nullable<TimeSpan> overrideExpiration)
Returns:
ValueTask

Parameters

key string
value T
overrideExpiration Nullable<TimeSpan>

Type Parameters

T

SetAsync<T>(IEnumerable<KeyValuePair<string, T>>)

public ValueTask SetAsync<T>(IEnumerable<KeyValuePair<string, T>> items)
Returns:
ValueTask

Parameters

items IEnumerable<KeyValuePair<string, T>>

Type Parameters

T
In this article