notion-dotnet / notion-sdk-net

A Notion SDK for .Net
MIT License
185 stars 46 forks source link

feat : Make calls cancellable #363

Closed Poltuu closed 1 year ago

Poltuu commented 1 year ago

Description

This PR introduces the optional CancellationToken cancellationToken parameters into every api calls. This let the user cancel the tasks, which is pretty useful and standard practice around tasks

No issue with this PR

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

No test were performed with this, but there is not much to test thus 🤷

Checklist: