schotime / NPoco

Simple microORM that maps the results of a query onto a POCO object. Project based on Schotime's branch of PetaPoco
Apache License 2.0
848 stars 302 forks source link

CancellationToken support #662

Closed LarsVonQualen closed 10 months ago

LarsVonQualen commented 2 years ago

Hi @schotime, I would love some feedback on this!

I've done my best to locate all the places that we use Task's, and added support for CancellationToken. I've done this by adding new overloads with the token, and letting existing methods use the new ones with a CancellationToken.None value.

What do you think, any chance this could get merged?

LarsVonQualen commented 2 years ago

Corresponding issue: https://github.com/schotime/NPoco/issues/649

schotime commented 10 months ago

Coming in #695