[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-17 UTC."],[[["This webpage provides documentation for the `TaskCompletionSourceExtensions` class, which offers extension methods for `TaskCompletionSource\u003cTResult\u003e`."],["The latest version of the documentation available is 4.10.0, with several older versions also accessible, including the current page's version of 4.3.1."],["The `TaskCompletionSourceExtensions` class includes the `WithCancellationToken\u003cTResult\u003e` method, which allows you to link a `TaskCompletionSource` with a `CancellationToken` for cancellation observation."],["The `WithCancellationToken\u003cTResult\u003e` method allows a task from a `TaskCompletionSource` to be linked to a `CancellationToken`, and it requires a non-null `TaskCompletionSource` and a `CancellationToken` as input."]]],[]]