- Preparing search index...
- The search index is not available
baileys
- promiseTimeout<T>(ms, promise): Promise<T>
-
Parameters
-
ms: undefined | number
-
promise: ((resolve, reject) => void)
-
- (resolve, reject): void
-
Parameters
-
resolve: ((v) => void)
-
reject: ((error) => void)
-
- (error): void
-
Returns void
Returns void
Returns Promise<T>