[[["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-08-04 UTC."],[[["This webpage details the `TaskCompletionSourceExtensions` class, which provides extension methods for `TaskCompletionSource\u003cTResult\u003e`."],["The latest version available is 4.10.0, with previous versions ranging from 4.8.0 down to 3.2.0 also listed."],["`TaskCompletionSourceExtensions` inherits from the `Object` class, inheriting methods such as `ToString()`, `Equals()`, and `GetHashCode()`."],["The class includes a method `WithCancellationToken\u003cTResult\u003e` which returns a task from a task completion source that observes a given cancellation token, accepting the completion source and cancellation token as parameters."],["The `WithCancellationToken` method will return a task that completes when the source completes, and will also observe the provided cancellation token for cancellation."]]],[]]