question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request: provide CancellationToken to SP mappers

See original GitHub issue

ExecuteSqlRawAsync has the overloaded implementation:

public static async Task<int> ExecuteSqlRawAsync(
    [NotNull] this DatabaseFacade databaseFacade,
    [NotNull] string sql,
    [NotNull] IEnumerable<object> parameters,
    CancellationToken cancellationToken = default)

Is that possible to create mapping methods with CancellationToken as well? Method signature might be the following:

public async Task<int> LONG_RUNNING_SP(int? param1, int? param2, 
    OutputParameter<int> returnValue = null, 
    CancellationToken cancellationToken = default)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
tiomnycommented, Nov 28, 2020

Yes, sir. Was busy at my other project, and just today I’ve started playing around with the code.

0reactions
ErikEJcommented, Nov 28, 2020

@tiomny is this still something you plan to do?

Read more comments on GitHub >

github_iconTop Results From Across the Web

[feature request] Implement ToObservable for ...
Feature request A function to convert a CancellationToken token into an observable that emit OnError with OperationCanceledException when ...
Read more >
Configure alternate access mappings for SharePoint Server
In this article. Manage alternate access mappings; Add an internal URL; Edit or delete an internal URL; Edit public URLs; Map to an...
Read more >
Managing authentication policy contract grant mapping
To remove an existing mapping or to cancel the removal request, click Delete or Undelete under Action. Note: Before removing a mapping from...
Read more >
Using ASP.NET Core 7 Minimal APIs: Request Filters ... - InfoQ
Automatic mapping of headers and query string parameters. Another useful feature of Minimal APIs is the ability to automatically map request ...
Read more >
Fulfillment Outbound API v2020-07-01 model
Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found