Class TestSubscriber.Probe<T>
Inheritance
TestSubscriber.Probe<T>
Implements
Reactive.Streams.ISubscriber<T>
Assembly: Akka.Streams.TestKit.dll
Syntax
public class Probe<T> : TestSubscriber.ManualProbe<T>, ISubscriber<T>
Type Parameters
Methods
|
Improve this Doc
View Source
Cancel()
Declaration
public TestSubscriber.Probe<T> Cancel()
Returns
|
Improve this Doc
View Source
CancelAsync()
Declaration
public async Task CancelAsync()
Returns
|
Improve this Doc
View Source
EnsureSubscription(CancellationToken)
Ensure that the probe has received or will receive a subscription
Declaration
public TestSubscriber.Probe<T> EnsureSubscription(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Returns
|
Improve this Doc
View Source
EnsureSubscriptionAsync(CancellationToken)
Ensure that the probe has received or will receive a subscription
Declaration
public async Task EnsureSubscriptionAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Returns
|
Improve this Doc
View Source
Request(Int64)
Declaration
public TestSubscriber.Probe<T> Request(long n)
Parameters
Type |
Name |
Description |
Int64 |
n |
|
Returns
|
Improve this Doc
View Source
RequestAsync(Int64)
Declaration
public async Task RequestAsync(long n)
Parameters
Type |
Name |
Description |
Int64 |
n |
|
Returns
|
Improve this Doc
View Source
RequestNext()
Request and expect a stream element.
Declaration
Returns
|
Improve this Doc
View Source
RequestNext(T)
Declaration
public TestSubscriber.Probe<T> RequestNext(T element)
Parameters
Type |
Name |
Description |
T |
element |
|
Returns
|
Improve this Doc
View Source
RequestNext(TimeSpan)
Request and expect a stream element during the specified time or timeout.
Declaration
public T RequestNext(TimeSpan timeout)
Parameters
Returns
|
Improve this Doc
View Source
RequestNextAsync()
Request and expect a stream element.
Declaration
public async Task<T> RequestNextAsync()
Returns
|
Improve this Doc
View Source
RequestNextAsync(T)
Declaration
public async Task RequestNextAsync(T element)
Parameters
Type |
Name |
Description |
T |
element |
|
Returns
|
Improve this Doc
View Source
RequestNextAsync(TimeSpan)
Declaration
public async Task<T> RequestNextAsync(TimeSpan timeout)
Parameters
Returns
Implements
Reactive.Streams.ISubscriber<T>
Extension Methods