Skip to content

Swift Structured Concurrency API to load CSV in the background #116

Open
@DivineDominion

Description

@DivineDominion

With Swift's structured concurrency being a thing, it might pay off to provide an async CSV loader that would load in a background Task.

All of my apps support macOS 10.12+ so I never used async/await in them. I'd personally like to not break compatibility with my apps :) Offering a closure-based API that is dispatch-able on a BG queue, and easily wrappable in a Task Continuation, would probably be a better first step.

Then again -- users can add wrappers like this themselves. So I'm not sure if we should actually offer something like this in the SwiftCSV library.

A feature like this should offer additional value and not just address latest language trends.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions