You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Allow timeout (when the observable ends, caller will
@@ -367,6 +367,10 @@ module AsyncSeq =
367
367
| Put v -> repl.Reply(v)
368
368
|_-> failwith "Unexpected Get"})
369
369
370
+
[<System.Obsolete("Use AsyncSeq.ofObservableDiscarding. This function doesn't guarantee that the asynchronous sequence will return all values produced by the observable")>]
371
+
letofObservable(input :System.IObservable<_>)=
372
+
ofObservableDiscarding input
373
+
370
374
lettoObservable(aseq:AsyncSeq<_>)=
371
375
letstart(obs:IObserver<_>)=
372
376
async{
@@ -380,23 +384,31 @@ module AsyncSeq =
380
384
memberx.Subscribe(obs)= start obs }
381
385
382
386
lettoBlockingSeq(input :AsyncSeq<'T>)=
383
-
// Write all elements to a blocking buffer and then add None to denote end
0 commit comments