@kwayteow/utils - v0.6.0
Preparing search index...
DeduplicatedFunction
Interface DeduplicatedFunction<T, R>
增强版去重Promise函数
interface
DeduplicatedFunction
<
T
extends
any
[]
,
R
>
{
clearCache
:
()
=>
void
;
clearKey
:
(
...
args
:
T
)
=>
void
;
(
...
args
:
T
)
:
Promise
<
R
>
;
}
Type Parameters
T
extends
any
[]
R
DeduplicatedFunction
(
...
args
:
T
)
:
Promise
<
R
>
Parameters
...
args
:
T
Returns
Promise
<
R
>
Index
Properties
clear
Cache
clear
Key
Properties
clear
Cache
clearCache
:
()
=>
void
清除所有缓存
clear
Key
clearKey
:
(
...
args
:
T
)
=>
void
清除特定key的缓存
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
clear
Cache
clear
Key
@kwayteow/utils - v0.6.0
Loading...
增强版去重Promise函数