没绑定过手机号的 允许会话十次,弹出验证码弹窗
This commit is contained in:
17
node_modules/async-mutex/lib/MutexInterface.d.ts
generated
vendored
Normal file
17
node_modules/async-mutex/lib/MutexInterface.d.ts
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
interface MutexInterface {
|
||||
acquire(priority?: number): Promise<MutexInterface.Releaser>;
|
||||
runExclusive<T>(callback: MutexInterface.Worker<T>, priority?: number): Promise<T>;
|
||||
waitForUnlock(priority?: number): Promise<void>;
|
||||
isLocked(): boolean;
|
||||
release(): void;
|
||||
cancel(): void;
|
||||
}
|
||||
declare namespace MutexInterface {
|
||||
interface Releaser {
|
||||
(): void;
|
||||
}
|
||||
interface Worker<T> {
|
||||
(): Promise<T> | T;
|
||||
}
|
||||
}
|
||||
export default MutexInterface;
|
||||
Reference in New Issue
Block a user