-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(audit): will now properly mirror source if durations are Observab…
…le.empty() (#2595) * fix(audit): mirror source if durations are Observable.empty() * refactor(audit): respond to feedback.
- Loading branch information
1 parent
ca50240
commit 6ded82e
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6ded82e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After this my implementation broke. I don't know if I was doing anything wrong but I was using
.audit
it like this. It just silently fails.I fixed my implementation to always do async. Like this:
Does audit support sync/async?
6ded82e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this operator just crashed for me as well. I think the problem is that subscribeToResult() may return null for some input, so the fix would be to change:
to
Do I need to create a separate issue/pull request?
6ded82e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@deadbeef84 I created PR #2743 according your solution If you don't mind.