Upgrade Prettier to 2.4.1
This commit is contained in:
@@ -18,10 +18,8 @@ export class AbortableProcess<Result> implements IController {
|
||||
private readonly controller: IController,
|
||||
resultPromise: Promise<Result>
|
||||
) {
|
||||
const {
|
||||
promise: abortPromise,
|
||||
reject: abortReject,
|
||||
} = explodePromise<Result>();
|
||||
const { promise: abortPromise, reject: abortReject } =
|
||||
explodePromise<Result>();
|
||||
|
||||
this.abortReject = abortReject;
|
||||
this.resultPromise = Promise.race([abortPromise, resultPromise]);
|
||||
|
Reference in New Issue
Block a user