Azure / Azure/Azure-Functions

IAsyncDisposable Only support for scoped registrations -(V4?) (V3?)

Open
#2,191 2 comments 0 reactions 1 assignee Claimed by @v-bbalaiagar View on GitHub
bug
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

I am trying to determine if the Azure functions DI model is expected to work for (scoped) registration that expose **only** IAsyncDisposable... (my triggering point is ServiceBusClient in Azure.Messaging.ServiceBus but the question is really generic)

I do not see their DisposeAsync called, whereas their Dispose is (if I flick them to IDisposable)

I am seeing disconnected remarks/documentation hence this ticket in an attempt to come a full understanding

seeing various core PRs/comments etc that lead me to an understanding of support at core level (host etc) but not for DI scopes (and what they contain)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.