Uploaded image for project: 'Swift Driver'
  1. Swift Driver
  2. SWIFT-1333

Consider having a single module for both sync + async usage

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Unknown
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Component/s: None
    • Labels:

      Description

      Swift 5.5 adds support for async overloading of methods. Based on the context a method is called from, the compiler will determine whether the async or sync version should be called.

      Given this, it might make sense for driver 2.0 to just have a single module where each I/O performing type offers both a sync and async API.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            kaitlin.mahar Kaitlin Mahar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: