Skip to content

IObjectBlobCache.InvalidateObject(string) method

Defined in

Type: IObjectBlobCache Namespace: Akavache Assembly: Akavache.Core.dll

Applies to

net9.0, net9.0-maccatalyst18.0, net9.0-macos15.0, net9.0-tvos18.0, net9.0-android35.0, net9.0-ios18.0, net8.0, net8.0-android34.0, net8.0-macos14.5, net8.0-ios18.0, net8.0-maccatalyst18.0, net8.0-macos15.0, net8.0-tvos18.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-tvos17.2, netstandard2.1, netstandard2.0

IObservable<Unit> InvalidateObject<T>(string key)

Summary: Invalidates a single object from the cache. It is important that the Type Parameter for this method be correct, and you cannot use IBlobCache.Invalidate to perform the same task.

Type parameters

NameDescription
TThe type of object associated with the blob.

Parameters

NameTypeDescription
keystringThe key to invalidate.

Returns: IObservable -- A Future result representing the completion of the invalidation.