1 write to CancellationToken
Aspire.Hosting (1)
ResourceBuilderExtensions.cs (1)
4121
CancellationToken
= context.CancellationToken,
4 references to CancellationToken
Aspire.Hosting.Foundry (4)
HostedAgent\HostedAgentBuilderExtension.cs (4)
357
ctx.
CancellationToken
.ThrowIfCancellationRequested();
362
var errorPayload = await response.Content.ReadAsStringAsync(ctx.
CancellationToken
).ConfigureAwait(true);
371
var responseJson = await response.Content.ReadFromJsonAsync<JsonElement>(cancellationToken: ctx.
CancellationToken
).ConfigureAwait(true);
385
var responseText = await response.Content.ReadAsStringAsync(ctx.
CancellationToken
).ConfigureAwait(true);