# Sample: writing your own CancellationToken from scratch

MyCancellationTokenSource requests cancellation, MyCancellationToken observes it. The split is the whole
design: handing out a token does not hand out the right to cancel. Includes polling, callbacks, CancelAfter,
linked sources, and a MyTask that honours a token.

    cd MyCancellation
    dotnet run -c Release
