summaryrefslogtreecommitdiffhomepage
path: root/ios/MullvadVPN/Promise
AgeCommit message (Expand)AuthorFilesLines
2021-12-16Add API address cacheAndrej Mihajlov1-0/+16
2021-10-05Promise: add doNotPropagateCancellation()Andrej Mihajlov1-12/+7
2021-10-04Promise: move completion and execution queue out of PromiseState and implemen...Andrej Mihajlov6-105/+198
2021-09-30Operations: let operation subclasses handle early cancellation within main()Andrej Mihajlov1-4/+4
2021-09-29TunnelManager: refactorAndrej Mihajlov1-0/+37
2021-09-15Promise: add operation queue extensionAndrej Mihajlov1-0/+49
2021-09-15Result: add extension to flatMap the contained optional valueAndrej Mihajlov1-0/+7
2021-09-15Promise: add flatMapErrorThenAndrej Mihajlov1-0/+12
2021-09-15Promise: add missing return statement in flatMapErrorAndrej Mihajlov1-1/+1
2021-09-15Promise: avoid using observe() in onSuccess and onFailure callsAndrej Mihajlov1-11/+9
2021-09-15Promise: make receive(on:) calls cancellable and add timer typeAndrej Mihajlov1-5/+29
2021-09-15PromiseCancellationToken: add cancel() to trigger cancellationAndrej Mihajlov1-2/+11
2021-09-15Promise: make call to observe() a call finishing the promise chainAndrej Mihajlov1-10/+9
2021-09-15Promise: add deferredAndrej Mihajlov1-0/+7
2021-09-15PromiseCompletion: add isCancelled helperAndrej Mihajlov1-0/+10
2021-09-15PromiseCompletion: add flattenUnwrappedValue helperAndrej Mihajlov1-0/+7
2021-09-15Promise: add `some(or: Failure)` extensionAndrej Mihajlov1-0/+7
2021-09-15Promise: add background task extensionAndrej Mihajlov1-0/+57
2021-08-31Add promiseAndrej Mihajlov8-0/+585