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

Add async support for DotNet pickers #194

Open
DanDiplo opened this issue Feb 7, 2019 · 0 comments
Open

Add async support for DotNet pickers #194

DanDiplo opened this issue Feb 7, 2019 · 0 comments

Comments

@DanDiplo
Copy link

DanDiplo commented Feb 7, 2019

I use the DotNet pickers a lot and they are fantastic for pulling in data from external data sources. But more and more these sources use async requests - for instance, anything using HttpClient will be async. But the IDotNetDataSource interface only has a synchronous method for getting editor data items. It would be really cool if there was also an option for an async version of this ie.

public async Task<IEnumerable<KeyValuePair<string, string>>> GetEditorDataItems(int contextId)

Not sure how possible this would be, but if it is that would be great. Thanks for listening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant