mirror of
https://github.com/corda/corda.git
synced 2025-03-18 01:55:19 +00:00
Update test comment
This commit is contained in:
parent
bececa153d
commit
82f6e9b3db
@ -290,10 +290,11 @@ class ObservablesTests {
|
||||
}
|
||||
|
||||
/**
|
||||
* A FlowSafeSubscriber that is NOT a leaf in a Subscribers structure, if it throws at onNext, it will not call its onError.
|
||||
* A [FlowSafeSubscriber] that is NOT a leaf in a subscribers structure will not call [onError]
|
||||
* if an error occurs during its [onNext] event processing.
|
||||
*
|
||||
* The reason why it should not call its onError is: if it wraps a [PublishSubject], calling [FlowSafeSubscriber.onError]
|
||||
* will then call [PublishSubject.onError] which will shut down all the Subscribers under the [PublishSubject].
|
||||
* The reason why it should not call its onError is: if it wraps a [PublishSubject], calling [FlowSafeSubscriber.onError]
|
||||
* will then call [PublishSubject.onError] which will shut down all the subscribers under the [PublishSubject].
|
||||
*/
|
||||
@Test
|
||||
fun `FlowSafeSubject wrapped with a FlowSafeSubscriber will preserve the structure, if one of them is unsafe and it throws`() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user