-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: gRPC Web Adjustments (#516)
- Loading branch information
Showing
3 changed files
with
20 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// This file is part of the ArmoniK project | ||
// | ||
// Copyright (C) ANEO, 2021-2022. All rights reserved. | ||
// Copyright (C) ANEO, 2021-2024. All rights reserved. | ||
// W. Kirschenmann <[email protected]> | ||
// J. Gurhem <[email protected]> | ||
// D. Dubuc <[email protected]> | ||
|
@@ -54,6 +54,7 @@ public static class SubmitterClientExt | |
/// <returns> | ||
/// The reply to task creation | ||
/// </returns> | ||
[Obsolete] | ||
public static async Task<CreateTaskReply> CreateTasksAsync(this gRPC.V1.Submitter.Submitter.SubmitterClient client, | ||
string sessionId, | ||
TaskOptions? taskOptions, | ||
|
@@ -77,6 +78,7 @@ public static async Task<CreateTaskReply> CreateTasksAsync(this gRPC.V1.Submitte | |
/// <returns> | ||
/// The reply to task creation | ||
/// </returns> | ||
[Obsolete] | ||
public static async Task<CreateTaskReply> CreateTasksAsync(this gRPC.V1.Submitter.Submitter.SubmitterClient client, | ||
string sessionId, | ||
TaskOptions? taskOptions, | ||
|
@@ -249,6 +251,7 @@ private static async IAsyncEnumerable<CreateLargeTaskRequest> ToRequestStream(th | |
/// </returns> | ||
/// <exception cref="Exception">a result reply chunk is not data, rending it impossible to reconstitute the data</exception> | ||
/// <exception cref="ArgumentOutOfRangeException">result reply type is unknown</exception> | ||
[Obsolete] | ||
public static async Task<byte[]> GetResultAsync(this gRPC.V1.Submitter.Submitter.SubmitterClient client, | ||
ResultRequest resultRequest, | ||
CancellationToken cancellationToken = default) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters