File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
src/FSharp.Control.TaskSeq Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ module internal TaskSeqInternal =
8686
8787 let empty < 'T > =
8888 { new IAsyncEnumerable< 'T> with
89- member _.GetAsyncEnumerator _ =
89+ member _.GetAsyncEnumerator ( _ ) =
9090 { new IAsyncEnumerator< 'T> with
9191 member _.MoveNextAsync () = ValueTask.False
9292 member _.Current = Unchecked.defaultof< 'T>
@@ -96,7 +96,7 @@ module internal TaskSeqInternal =
9696
9797 let singleton ( value : 'T ) =
9898 { new IAsyncEnumerable< 'T> with
99- member _.GetAsyncEnumerator _ =
99+ member _.GetAsyncEnumerator ( _ ) =
100100 let mutable status = BeforeAll
101101
102102 { new IAsyncEnumerator< 'T> with
@@ -978,11 +978,13 @@ module internal TaskSeqInternal =
978978 go <- step
979979 }
980980
981- interface IDisposable with
982- override _.Dispose () =
981+ interface IAsyncDisposable with
982+ override _.DisposeAsync () =
983983 if not ( isNull _ rwLock) then
984984 _ rwLock.Dispose()
985985
986+ ValueTask.CompletedTask
987+
986988 let except itemsToExclude ( source : TaskSeq < _ >) =
987989 checkNonNull ( nameof source) source
988990 checkNonNull ( nameof itemsToExclude) itemsToExclude
You can’t perform that action at this time.
0 commit comments