I've installed akavache Nuget package (tried v5.0 and v6.0.0-alpha and I am using .NET Standard), but don't have access to GetObjectAsync mentioned in many examples through the web. (Even on the official page).
I am considering this is rather not Akavache's methods but Rx extensions or something, but could not find if (and where) I can use it.
For instance, BlobCache.UserAccount just doesn't have it and I am shown syntax error.
Any clue?
GetObjectAsyncwas removed from Akavache becauseSystem.Reactiveprovides the means to convert anObservablein to aTask. In fact, anObservablecan even be awaited.GetObjectreturns anIObservableand can be used in place ofGetObjectAsync, so long as theSystem.Reactive.Linqnamespace is imported.Note: An awaited
Observableis expected toOnNexta single value only. IfOnNextis invoked 2 or more times, or not at all, an exception will be thrown.OnErrorwill also cause an exception to be thrown.The documentation has been updated to exclude
GetObjectAsyncas of 2018.08.28.