Skip to content

JsonSerializationMixin.InvalidateAllObjects(IBlobCache) method

Defined in

Type: JsonSerializationMixin 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

public static IObservable<Unit> InvalidateAllObjects<T>(this IBlobCache blobCache)

View source

Summary: Invalidates all objects of the specified type. To invalidate all objects regardless of type, use InvalidateAll.

Type parameters

NameDescription
TThe type of item to invalidate.

Parameters

NameTypeDescription
blobCache[IBlobCache](#The cache to invalidate.

Returns: IObservable -- An observable that signals when the operation has finished.

Remarks

Returns a Unit for each invalidation completion. Use Wait instead of First to wait for this.