The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

KeyedOperationQueue.

EnqueueObservableOperation<T>(string, Func<IObservable<T>>) Method

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.
Namespace
Akavache
Containing Type
KeyedOperationQueue

Syntax

public IObservable<T> EnqueueObservableOperation<T>(string key, Func<IObservable<T>> asyncCalculationFunc)

Type Parameters

Name Description
T The type of value in the queue.

Parameters

Name Type Description
key string The key to use.
asyncCalculationFunc Func<IObservable<T>> A method to run in the background that returns a stream of values.

Return Value

Type Description
IObservable<T> A future stream of values.