Skip to content

Commit

Permalink
Allow RequestState.abort to be used with on modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
gitKrystan committed May 23, 2024
1 parent bcc638f commit 15db0d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ember/src/-private/request-state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,9 @@ export class RequestLoadingState {
this._future = future;
}

abort(): void {
abort = (): void => {
this._future.abort();
}
};
}

export class RequestState<T = unknown, RT = unknown> {
Expand Down

0 comments on commit 15db0d6

Please sign in to comment.