dotnet / dotnet/AspNetCore.Docs

CancellationToken in ISingleClientProxy.InvokeAsync is not optional

Open
#27,996 8 comments 0 reactions 1 assignee Claimed by @wadepickett View on GitHub
doc-enhancement Pri1 seQUESTered SignalR Source - Docs.ms
Dominant language
C#
Stars
13.1k
Forks
24.6k
Avg merge
1d 3h
Merged PRs (30d)
97

Description

the `CancellationToken` parameter in `InvokeAsync` function is optional in Client Result section of document.
but it's not optional in real code

![image](https://user-images.githubusercontent.com/24592212/210232270-904c10d0-1958-46ee-acd6-17886468109c.png)

document :

![image](https://user-images.githubusercontent.com/24592212/210232770-9053aeef-5eb6-4e51-8e29-92cf2903650e.png)

please fix it

---
#### Document Details

⚠ *Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.*

* ID: 1387f556-b4b7-70f9-5bd0-f0bccc597689
* Version Independent ID: fb016cdc-d281-6b5b-7466-2c718e7274b4
* Content: [Use hubs in ASP.NET Core SignalR](https://learn.microsoft.com/en-us/aspnet/core/signalr/hubs?view=aspnetcore-7.0)
* Content Source: [aspnetcore/signalr/hubs.md](https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/signalr/hubs.md)
* Product: **aspnet-core**
* Technology: **aspnetcore-signalr**
* GitHub Login: @bradygaster
* Microsoft Alias: **bradyg**

---
[Associated WorkItem - 65762](https://dev.azure.com/msft-skilling/Content/_workitems/edit/65762)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.