callOnce() 使用了一个不是字符串的键进行调用。该键用于跟踪函数是否已经运行,因此它必须是一个非空字符串。
callOnce()
await callOnce('setup', () => { // 只运行一次 })
Was this helpful?
On this page
社区