Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read async input as IAsyncEnumerable<IAsyncEnumerable<string>> #22

Open
airbreather opened this issue Dec 14, 2019 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@airbreather
Copy link
Owner

airbreather commented Dec 14, 2019

On CsvAsyncInputBase:

public IAsyncEnumerable<IAsyncEnumerable<string>> AsEnumerableFromUtf8()
{
    // ...
}

public virtual async IAsyncEnumerable<IAsyncEnumerable<string>> AsEnumerable(Encoding inputEncoding)
{
    // ...
}
@airbreather airbreather added the enhancement New feature or request label Dec 14, 2019
@airbreather
Copy link
Owner Author

Base implementation probably also needs to spin up a thread like the sync version, because I chose not to implement async visitors in favor of a cleaner API.

Subclasses can almost certainly do a lot better, as in the sync version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant