1 write to CancellationToken
Aspire.Hosting (1)
ResourceBuilderExtensions.cs (1)
3750
CancellationToken
= context.CancellationToken,
4 references to CancellationToken
Aspire.Hosting.Foundry (4)
HostedAgent\HostedAgentBuilderExtension.cs (4)
355
ctx.
CancellationToken
.ThrowIfCancellationRequested();
360
var errorPayload = await response.Content.ReadAsStringAsync(ctx.
CancellationToken
).ConfigureAwait(true);
369
var responseJson = await response.Content.ReadFromJsonAsync<JsonElement>(cancellationToken: ctx.
CancellationToken
).ConfigureAwait(true);
383
var responseText = await response.Content.ReadAsStringAsync(ctx.
CancellationToken
).ConfigureAwait(true);