#19238 add detach operator and fix Detach stage
This commit is contained in:
parent
aadaf15b89
commit
b0b03176ae
9 changed files with 133 additions and 2 deletions
|
|
@ -585,7 +585,10 @@ object TestSubscriber {
|
|||
private lazy val subscription = expectSubscription()
|
||||
|
||||
/** Asserts that a subscription has been received or will be received */
|
||||
def ensureSubscription(): Unit = subscription // initializes lazy val
|
||||
def ensureSubscription(): Self = {
|
||||
subscription // initializes lazy val
|
||||
this
|
||||
}
|
||||
|
||||
def request(n: Long): Self = {
|
||||
subscription.request(n)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue