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 22, 2024
1 parent bcc638f commit d23d7d8
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,8 +214,8 @@ export class RequestLoadingState {
this._future = future;
}

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

Expand Down

0 comments on commit d23d7d8

Please sign in to comment.