- createPromise<T>(): { 
 promise: Promise<T>;
 rejecter: ((reason?: any) => void);
 resolver: ((value: T) => void);
 }
- Returns { 
 promise: Promise<T>;
 rejecter: ((reason?: any) => void);
 resolver: ((value: T) => void);
 }
- promise: Promise<T>
- rejecter: ((reason?: any) => void)- (reason?): void
- Returns void
 
 
- resolver: ((value: T) => void)- (value): void
- Returns void
 
 
 
Obtain a promise with functions to resolve and reject.