-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Closed
Labels
Description
From my understanding, if disposeEagerly == false when calling Observable.using(resourceFactory, observableFactory, diposeEagerly), then the disposeAction should not be called when a termination event occurs.
However, based on:
| .doAfterTerminate(disposeOnceOnly); |
it appears that it just changes whether or not disposeAction is called before or after the termination event.
Is my understanding correct? And if so, is this the desired behaviour? The documentation for Observable.using(resourceFactory, observableFactory) implies that disposeAction is is only called on unsubscribe.
Reactions are currently unavailable