- obsolete<T, P>(run): ((...args: P) => Promise<T>)
Type Parameters
- T extends unknown = any
- P extends any[] = any[]
Parameters
- run: ((...args: P) => Promise<T>)
- (...args): Promise<T>
Returns Promise<T>
Returns ((...args: P) => Promise<T>)
- (...args): Promise<T>
Returns Promise<T>