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
@@ -370,6 +370,10 @@ module AsyncSeq =
370
370
| Put v -> repl.Reply(v)
371
371
|_-> failwith "Unexpected Get"})
372
372
373
+
[<System.Obsolete("Use AsyncSeq.ofObservableDiscarding. This function doesn't guarantee that the asynchronous sequence will return all values produced by the observable")>]
374
+
letofObservable(input :System.IObservable<_>)=
375
+
ofObservableDiscarding input
376
+
373
377
/// Converts asynchronous sequence to an IObservable<_>. When the client subscribes
374
378
/// to the observable, a new copy of asynchronous sequence is started and is
375
379
/// sequentially iterated over (at the maximal possible speed). Disposing of the
@@ -389,29 +393,36 @@ module AsyncSeq =
389
393
/// Converts asynchronous sequence to a synchronous blocking sequence.
390
394
/// The elements of the asynchronous sequence are consumed lazily.
391
395
lettoBlockingSeq(input :AsyncSeq<'T>)=
392
-
// Write all elements to a blocking buffer and then add None to denote end
0 commit comments