+str #18556 add delay combinator
This commit is contained in:
parent
270ef41359
commit
83d3143236
10 changed files with 277 additions and 60 deletions
|
|
@ -263,6 +263,16 @@ object TestSubscriber {
|
|||
self
|
||||
}
|
||||
|
||||
/**
|
||||
* Fluent DSL
|
||||
*
|
||||
* Expect a stream element during specified time, then timeout.
|
||||
*/
|
||||
def expectNext(d: FiniteDuration, element: I): Self = {
|
||||
probe.expectMsg(d, OnNext(element))
|
||||
self
|
||||
}
|
||||
|
||||
/**
|
||||
* Fluent DSL
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue