-
Committer:
Facebook Github Bot
-
Author(s):
Andrii Grynenko
-
Date:
2018-04-20 22:08:22 UTC
-
Revision ID:
git-v1:a1c15014b5d99f47ac8c0811e198c66b02f34c2e
Implement eager subscription in subcribeVia
Summary: Life-time of executor passed to subscribeVia can be tied to the previous stream. We have to eagerly subscribe to it to process onError/onComplete events and make sure we stop using that executor for any subsequent calls.
Reviewed By: phoad
Differential Revision: D7651264
fbshipit-source-id: c50090ff58a4835b439df2080e083a9302c40152