dotnet / dotnet/AspNetCore.Docs
CancellationToken in ISingleClientProxy.InvokeAsync is not optional
- 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

document :

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
Assessment
This issue has not been assessed yet.