Closed ghost closed 3 years ago
Yeah you're right I did not include the CancellationToken. It's a personal choice, I never used it.
Please use Cancellation as a parameter with default
Ex: Task<TDocument> AddOneAsync<TDocument>(TDocument doc, ..., CancellationToken = default)
I am very grateful for that
any news about the CancelationToken support in the future?
Done in https://github.com/alexandre-spieser/mongodb-generic-repository/releases/tag/1.4.7 let me know if I've missed some.
Cancellation Token should now be supported on all methods https://github.com/alexandre-spieser/mongodb-generic-repository/releases/tag/1.5.0
I see in MongoDB there is asynchronous support. However when you build this Repo Generic I did not find the CRUD methods using the CancellationToken class. If my understanding is limited, please ignore it