Replies: 2 comments 1 reply
-
We have a PR for second opinion but there are problems. Tomorrow I will look at it. |
Beta Was this translation helpful? Give feedback.
0 replies
-
To use IAsyncEnumerable on The possible solution: <PropertyGroup>
<TargetFrameworks>net462;netstandard2.0;net6.0</TargetFrameworks>
<!-- It is important to use C# 8.0 -->
<LangVersion>8.0</LangVersion>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)'=='net462' or '$(TargetFramework)'=='netstandard2.0' ">
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="7.0.0" />
</ItemGroup> To be honest, I don't like the solution from PR #907. IMO we should choose one of the following options:
The more I think about it, the more I'm in favor of option 2. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
@IgorMilavec added a
ListDirectoryAsync(string path, CancellationToken cancellationToken)
to SftpClient that returns a Task<IEnumerable.I don't want to ship a release (even if it's beta) with this method.
I see two options:
Let's discuss these (and perhaps other) options in the next days.
Beta Was this translation helpful? Give feedback.
All reactions