Method DisposeAsync
- Namespace
- IntentSharp
- Assembly
- IntentSharp.dll
DisposeAsync()
Disposes the primary and the fallback provider when they implement IDisposable, including providers passed to UseProvider(IAIProvider) or UseFallbackProvider(IAIProvider): the client owns its providers, so do not share one provider instance between clients. Memory, cache, rate limiter and judge are not disposed.
public ValueTask DisposeAsync()
Returns
- ValueTask