Skip to content

Commit

Permalink
Merge pull request #4233 from jeclrsg/comms-wuquery-support-abort-signal
Browse files Browse the repository at this point in the history
feat(comms): WUQuery support abort signal
  • Loading branch information
GordonSmith authored Sep 12, 2024
2 parents c61a8ab + c9db1db commit 20b14eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/comms/src/services/wsWorkunits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ export class WorkunitsService extends WorkunitsServiceBase {
});
}

WUQuery(request: Partial<WsWorkunits.WUQuery> = {}): Promise<WsWorkunits.WUQueryResponse> {
return super.WUQuery(request).then((response) => {
WUQuery(request: Partial<WsWorkunits.WUQuery> = {}, abortSignal?: AbortSignal): Promise<WsWorkunits.WUQueryResponse> {
return this._connection.send("WUQuery", request, "json", false, abortSignal).then((response) => {
return deepMixin({ Workunits: { ECLWorkunit: [] } }, response);
});
}
Expand Down

0 comments on commit 20b14eb

Please sign in to comment.