Auto Task API
Preparing search index...
modules/social/twitter/cache
setCache
Function setCache
setCache
(
ctx
:
Context
,
name
:
string
,
id
:
string
)
:
Promise
<
void
>
更新模块缓存并写入持久化存储。
Parameters
ctx
:
Context
当前操作上下文,包含授权、存储和状态事件。
name
:
string
目标名称。
id
:
string
目标标识。
Returns
Promise
<
void
>
在操作完成后兑现的 Promise。
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Auto Task API
Loading...
更新模块缓存并写入持久化存储。