Table of Contents

Method GetOrCreateAsync

Namespace
Innova.Rest.Server
Assembly
Innova.Rest.Server.dll

GetOrCreateAsync<T>(string, int, Func<Task<T>>)

ValueTask<T> GetOrCreateAsync<T>(string cacheKeyPrefix, int cacheTimeoutInMinutes, Func<Task<T>> itemFunc)

Parameters

cacheKeyPrefix string
cacheTimeoutInMinutes int
itemFunc Func<Task<T>>

Returns

ValueTask<T>

Type Parameters

T