Skip to content

Commit

Permalink
Remove inaccurate/unnecessary getLastResult comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamn committed Aug 16, 2021
1 parent 7a6a016 commit e1a1ceb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/core/ObservableQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,6 @@ export class ObservableQuery<
}
}

// Returns the last result that observer.next was called with. This is not the same as
// getCurrentResult! If you're not sure which you need, then you probably need getCurrentResult.
public getLastResult(variablesMustMatch?: boolean): ApolloQueryResult<TData> | undefined {
return this.getLast("result", variablesMustMatch);
}
Expand Down

0 comments on commit e1a1ceb

Please sign in to comment.