Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

Convenience operations should be QOS user-initiated #14

Open
malhal opened this issue Jan 22, 2017 · 1 comment
Open

Convenience operations should be QOS user-initiated #14

malhal opened this issue Jan 22, 2017 · 1 comment

Comments

@malhal
Copy link
Contributor

malhal commented Jan 22, 2017

About CloudKit and Quality of Service

However I'm not sure if there is anything within the Swift foundation that would make use of it.

Note discretionary means that the operation doesn't end on network errors but keeps re-trying on its own, I think its for 24 hours on iOS? I suppose this was done to simplify developer code but coming from traditional networking APIs it is a bit confusing.

@malhal malhal changed the title Convenience operations should be quality user initiated Convenience operations should be quality user-initiated Jan 22, 2017
@malhal malhal changed the title Convenience operations should be quality user-initiated Convenience operations should be QOS user-initiated Jan 22, 2017
@malhal
Copy link
Contributor Author

malhal commented Jan 22, 2017

https://github.com/apple/swift-corelibs-foundation/blob/19249417b01573bd6aa32b9a24cc42273315a48b/Foundation/NSOperation.swift

    /// - Note: Quality of service is not directly supported here since there are not qos class promotions available outside of darwin targets.
    open var qualityOfService: NSQualityOfService = .default

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant