[swift-corelibs-dev] Asynchronous Operations
Ian Partridge
ipartridge at gmail.com
Fri Jan 20 09:55:42 CST 2017
On Darwin, asynchronous usage of Operation is supported via KVO
notifications.
Because KVO is only available on Darwin platforms,
swift-corelibs-foundation currently does not support asychronous
Operations, and there is a comment to that effect:
https://github.com/apple/swift-corelibs-foundation/blob/6c2afef20330681ec1f8e4e4e3e2664bfd758888/Foundation/NSOperation.swift#L50
My understanding is that it's unlikely KVO will arrive on Linux any time
soon, so this leaves us with a problem in Operation. Asynchronous usage of
Operation is an important feature.
Is there any way that we could support asynchronous operations in
swift-corelibs-foundation, in the absence of KVO?
Might it be acceptable to add extra temporary public API to enable this?
Many thanks,
--
Ian Partridge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-corelibs-dev/attachments/20170120/2d6f7e2b/attachment.html>
More information about the swift-corelibs-dev
mailing list