Skip to content

Commit 4e68630

Browse files
Copilotgithub-actions[bot]
authored andcommitted
Expose ofAsyncEnum/toAsyncEnum on netstandard2.0
The .fsi signature file was gating ofAsyncEnum, toAsyncEnum, and ofIQueryable behind NETSTANDARD2_1 || NETCOREAPP3_0, while the .fs implementation already guarded them with NETSTANDARD || NET (which includes netstandard2.0). Since the project already depends on Microsoft.Bcl.AsyncInterfaces which provides IAsyncEnumerable<T> for netstandard2.0, aligning the .fsi guard makes these functions available on that target framework. Closes #173 Co-authored-by: Copilot <[email protected]>
1 parent 700a279 commit 4e68630

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/FSharp.Control.AsyncSeq/AsyncSeq.fsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ module AsyncSeq =
549549
/// completion of sub-sequences depends on completion of other sub-sequences.
550550
val groupBy<'T, 'Key when 'Key : equality> : projection:('T -> 'Key) -> source:AsyncSeq<'T> -> AsyncSeq<'Key * AsyncSeq<'T>>
551551

552-
#if (NETSTANDARD2_1 || NETCOREAPP3_0)
552+
#if (NETSTANDARD || NET)
553553

554554
/// Creates an asynchronous computation that asynchronously yields results from the provided .NET IAsyncEnumerable.
555555
val ofAsyncEnum<'T> : source: Collections.Generic.IAsyncEnumerable<'T> -> AsyncSeq<'T>

0 commit comments

Comments
 (0)