Dapper icon indicating copy to clipboard operation
Dapper copied to clipboard

Add CancellationToken optional parameter to all Async methods

Open mcenzato opened this issue 2 years ago • 2 comments

I saw that a lot of Dapper async methods (eg. QueryAsync) miss the CancellationToken parameter.

mcenzato avatar Jul 18 '23 07:07 mcenzato

You can workaround this by passing CommandDefinition with assigned CancellationToken in most of the simple queries, except more complicates ones, like with multi-mapping.

Rendojack avatar Sep 26 '23 05:09 Rendojack