Method GetOrCreateAsync
GetOrCreateAsync<T>(string, int, Func<Task<T>>)
public ValueTask<T> GetOrCreateAsync<T>(string cacheKeyPrefix, int cacheTimeoutInMinutes, Func<Task<T>> itemFunc)
Parameters
Returns
- ValueTask<T>
Type Parameters
T
public ValueTask<T> GetOrCreateAsync<T>(string cacheKeyPrefix, int cacheTimeoutInMinutes, Func<Task<T>> itemFunc)
T