Summary
Queue an operation to run in the background. 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<Unit> EnqueueOperation(string key, Action action)
Parameters
Name | Type | Description |
---|---|---|
key | string | The key to use. |
action | Action | A method to run in the background. |
Return Value
Type | Description |
---|---|
IObservable |
A future representing when the operation completes. |