>
Defined in Type: KeyedOperationQueue
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 IObservable<T> EnqueueObservableOperation<T>(string key, Func<IObservable<T>> asyncCalculationFunc)
Summary: Queue an operation to run in the background that returns a stream of values. All operations with the same key will run in sequence, waiting for the previous operation to complete. If you want to queue an operation that already returns IObservable, this is your guy.
Type parameters
| Name | Description |
|---|---|
T | The type of value in the queue. |
Parameters
| Name | Type | Description |
|---|---|---|
key | string | The key to use. |
asyncCalculationFunc | Func | A method to run in the background that returns a stream of values. |
Returns: IObservable