Upgrade Prettier to 2.4.1
This commit is contained in:
parent
f204784afe
commit
5619eeca83
176 changed files with 1961 additions and 2465 deletions
|
@ -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]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue