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
{{ message }}
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.
If I remove the .Take(1) (and the inner OnNext to avoid an infinite loop), everything works as expected.
Luckily, since I'm basically using a ReplaySubject to act like a BehaviorSubject, I can just change to using one of those (no problem there, it seems), but this was still annoying.
System Info:
iMac (27-inch, Late 2013)
macOS 10.12.6
Unity version 2017.3.1f1 personal
Scripting Runtime version .NET 4.6 equivalent
API Level .NET 4.6
The text was updated successfully, but these errors were encountered:
I have a situation where I'm using a
ReplaySubject
andTake(int)
. Here's a minimal example of how to reproduce the problem:And here are the relevant parts of the exception that is thrown:
If I remove the
.Take(1)
(and the innerOnNext
to avoid an infinite loop), everything works as expected.Luckily, since I'm basically using a
ReplaySubject
to act like aBehaviorSubject
, I can just change to using one of those (no problem there, it seems), but this was still annoying.System Info:
iMac (27-inch, Late 2013)
macOS 10.12.6
Unity version 2017.3.1f1 personal
Scripting Runtime version .NET 4.6 equivalent
API Level .NET 4.6
The text was updated successfully, but these errors were encountered: