UNPKG
@epic-web/cachified
Version:
latest (5.6.2)
5.6.2
5.6.1
5.6.0
5.5.3
5.5.2
5.5.1
5.5.0
5.4.0
5.3.0
5.2.1
5.2.0
5.1.3
5.1.2
5.1.1
5.1.0
5.0.0
4.0.0
3.5.5
neat wrapper for various caches
github.com/epicweb-dev/cachified
epicweb-dev/cachified
@epic-web/cachified
/
dist
/
src
/
getFreshValue.d.ts
4 lines
(3 loc)
•
227 B
TypeScript
View Raw
1
2
3
4
import
{
Context
,
CacheMetadata
}
from
'./common'
;
import
{
Reporter
}
from
'./reporter'
;
export
declare
function
getFreshValue<
Value
>(
context
:
Context
<
Value
>,
metadata
:
CacheMetadata
,
report
:
Reporter
<
Value
>):
Promise
<
Value
>;