Etl.Net
Etl.Net copied to clipboard
Is there a way to await async operations inside of `.Select(...)`, `.CrossApply(...)`, `.Do(...)`?
Discussed in https://github.com/paillave/Etl.Net/discussions/378
Originally posted by eisbaer66 August 21, 2022
Can is use async/await inside of .Select(...)
, .CrossApply(...)
, .Do(...)
?
Do i have to call .Result
/.Wait()
myself? Is this safe?
for example calling a REST api and reading the content as string:
stream.Select("get content", async context => await context.httpClient.GetStringAsync(context.url));
```</div>
something will be developed for rest api. For now, the workaround is here: https://github.com/paillave/Etl.Net/discussions/378