Jacob Bandes-Storch suggested: synchronously(execute work: …)
So maybe that will conform to the API naming guideline? Or would the verb have to be in the base name of the func? Or perhaps: synchronously(dispatch work: …) asynchronously(dispatch work: …) > On May 11, 2016, at 9:32 AM, James Dempsey via swift-evolution > <swift-evolution@swift.org> wrote: > > The method names > > synchronously() > asynchronously() > > are both adverbs, not noun phrases or verb phrases. > These methods have side effects, so each name should have a verb in it to > make it a verb phrase. > > > Since these are the methods where you actually dispatch a block into a queue > > dispatchSynchronously() > dispatchAsynchronously() > > would include the verb in the name of the methods. >
_______________________________________________ swift-evolution mailing list swift-evolution@swift.org https://lists.swift.org/mailman/listinfo/swift-evolution