You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we don't support IAsyncDisposable instances of activity classes when using the Temporalio.Extensions.Hosting DI because we create synchronous scopes.
to await using (var scope = provider.CreateAsyncScope()), but there may need to be compiler directives since it's .NET 6+ (and we may have to distribute a .NET-6-specific version of this library)
The text was updated successfully, but these errors were encountered:
Describe the solution you'd like
Currently we don't support
IAsyncDisposable
instances of activity classes when using theTemporalio.Extensions.Hosting
DI because we create synchronous scopes.Change
sdk-dotnet/src/Temporalio.Extensions.Hosting/ServiceProviderExtensions.cs
Line 64 in 3faaf2b
await using (var scope = provider.CreateAsyncScope())
, but there may need to be compiler directives since it's .NET 6+ (and we may have to distribute a .NET-6-specific version of this library)The text was updated successfully, but these errors were encountered: