<div dir="ltr">On Darwin, asynchronous usage of Operation is supported via KVO notifications.<div><br></div><div>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:</div><div><br></div><div><a href="https://github.com/apple/swift-corelibs-foundation/blob/6c2afef20330681ec1f8e4e4e3e2664bfd758888/Foundation/NSOperation.swift#L50">https://github.com/apple/swift-corelibs-foundation/blob/6c2afef20330681ec1f8e4e4e3e2664bfd758888/Foundation/NSOperation.swift#L50</a><br></div><div><br></div><div>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.</div><div><br></div><div>Is there any way that we could support asynchronous operations in swift-corelibs-foundation, in the absence of KVO?</div><div><br></div><div>Might it be acceptable to add extra temporary public API to enable this?</div><div><br></div><div>Many thanks,<br clear="all"><div><br></div>-- <br><div class="gmail_signature">Ian Partridge<br></div>
<br>
</div></div>