Type Alias: OnRefreshEventData
说明
本页由源码中的注释生成,内容为英文。
OnRefreshEventData =
object
The data of a 'refresh' event of a Cacher: a value recomputed in the background by Cacher.wrap.
Properties
error?
optionalerror?:Error
The error thrown by the computation or by a store when the refresh failed; absent when it succeeded.
key
key:
string
The key refreshed.
value
value:
any
The new value; the value still cached when the refresh failed.