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.

`IAsyncDisposable` Support?

See original GitHub issue

Greetings,

Looking through the issues and I do not see any mention of IAsyncDisposable. I do see this issue:

https://github.com/dotnet/extensions/issues/1751

But it does not look like anything definitive was made from that conversation.

I would like to create this issue to track this.

Thank you for any consideration. 🙏

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
seesharpercommented, Sep 19, 2022

I understand. We will enable this only for netcoreapp3.1 and above 👍😃 https://github.com/seesharper/LightInject/pull/574

2reactions
seesharpercommented, Sep 19, 2022

@Mike-E-angelo IAsyncDisposable in LightInject 👍😃 #573

Read more comments on GitHub >

github_iconTop Results From Across the Web

IAsyncDisposable Interface (System)
The IAsyncDisposable.DisposeAsync method of this interface returns a ValueTask that represents the asynchronous dispose operation.
Read more >
Implement a DisposeAsync method
A good implementation pattern of the IAsyncDisposable interface is to be prepared for either synchronous or asynchronous disposal, however, it's ...
Read more >
How to work with IAsyncDisposable in .NET 6
Take advantage of the IAsyncDisposable interface to dispose of objects in a non-blocking way and make your .NET applications more efficient.
Read more >
How to properly use IAsyncDisposable in C#8
How to implement IAsyncDisposable. Basically, the simplest way to implement IAsyncDisposable is the following: public class Example : ...
Read more >
Implementing both IDisposable and IAsyncDisposable
Proxy might not support IAsyncDisposable . Failing to cast object to IDisposable will present hard to catch bugs in your app.
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