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
@@ -369,6 +369,10 @@ module AsyncSeq =
369
369
| Put v -> repl.Reply(v)
370
370
|_-> failwith "Unexpected Get"})
371
371
372
+
[<System.Obsolete("Use AsyncSeq.ofObservableDiscarding. This function doesn't guarantee that the asynchronous sequence will return all values produced by the observable")>]
373
+
letofObservable(input :System.IObservable<_>)=
374
+
ofObservableDiscarding input
375
+
372
376
lettoObservable(aseq:AsyncSeq<_>)=
373
377
letstart(obs:IObserver<_>)=
374
378
async{
@@ -382,23 +386,31 @@ module AsyncSeq =
382
386
memberx.Subscribe(obs)= start obs }
383
387
384
388
lettoBlockingSeq(input :AsyncSeq<'T>)=
385
-
// Write all elements to a blocking buffer and then add None to denote end
0 commit comments