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

KeyedOperationQueue.

EnqueueOperation<T>(string, Func<T>) Method

Summary

Queue an operation to run in the background that returns a value. All operations with the same key will run in sequence, waiting for the previous operation to complete.
Namespace
Akavache
Containing Type
KeyedOperationQueue

Syntax

public IObservable<T> EnqueueOperation<T>(string key, Func<T> calculationFunc)

Type Parameters

Name Description
T The type of item in the queue.

Parameters

Name Type Description
key string The key to use.
calculationFunc Func<T> A method to run in the background that returns a single value.

Return Value

Type Description
IObservable<T> A future value.