This is great!<br><br>What will setTargetQueue and setTimer become? It would be great if the proposal doc could be updated with the API that was accepted.<br><div class="gmail_quote"><div dir="ltr">On Thu, May 19, 2016 at 9:03 PM Patrick Smith via swift-evolution <<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Great stuff! Truly is a massive improvement to an already venerable API.<br>
<br>
Was there any consideration to make this a new module ‘Dispatch’, and drop all the Dispatch- prefixes? Or rather, what is the reason for keeping the prefixes? (Group could become WorkGroup to lessen naming conflicts)<br>
<br>
<br>
> On 20 May 2016, at 1:57 PM, Chris Lattner via swift-evolution <<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>> wrote:<br>
><br>
> Proposal link: <a href="https://github.com/apple/swift-evolution/blob/master/proposals/0088-libdispatch-for-swift3.md" rel="noreferrer" target="_blank">https://github.com/apple/swift-evolution/blob/master/proposals/0088-libdispatch-for-swift3.md</a><br>
><br>
> Hello Swift Community,<br>
><br>
> The review of "SE-0088: Modernize libdispatch for Swift 3 naming conventions" ran from May 10…17, 2016. The proposal is *accepted with revisions* for Swift 3.<br>
><br>
> The community and core team are both very positive about this massive improvement to the libdispatch APIs. Much of the discussion has centered around specific details in the proposal - for example the “.asynchronously” method on DispatchQueue. This great discussion leads to several requested revisions in the proposal:<br>
><br>
> - Rename the DispatchQueue.[a]synchronously methods to ".async” and ".sync”, to follow the term of art.<br>
> - Rename DispatchIO setHighWater, setLowWater --> setLimit(highWater:), setLimit(lowWater:)<br>
> - Rename setTargetQueue(queue:) and DispatchSource.setTimer<br>
> - Rename Semaphore, Group and WorkItem: .wait(timeout:) --> wait() and wait(withTimeout:)<br>
> - Expand source handler methods to take the same arguments as async()<br>
> - Expand DispatchQueue.after to take the same arguments as async() in addition to the when: argument<br>
><br>
> Thank you to Matt Wright proposing this, and for all of the implementation work that has gone into this so far!<br>
><br>
> -Chris Lattner<br>
> Review Manager<br>
><br>
> _______________________________________________<br>
> swift-evolution mailing list<br>
> <a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a><br>
> <a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
<br>
_______________________________________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
</blockquote></div>