Class StreamTestKit.PublisherProbeSubscription<T>
Inheritance
StreamTestKit.PublisherProbeSubscription<T>
Implements
Reactive.Streams.ISubscription
Assembly: Akka.Streams.TestKit.dll
Syntax
public sealed class PublisherProbeSubscription<T> : ISubscription
Type Parameters
Constructors
|
Improve this Doc
View Source
PublisherProbeSubscription(ISubscriber<T>, TestProbe)
Declaration
public PublisherProbeSubscription(ISubscriber<T> subscriber, TestProbe publisherProbe)
Parameters
Type |
Name |
Description |
Reactive.Streams.ISubscriber<T> |
subscriber |
|
TestProbe |
publisherProbe |
|
Properties
|
Improve this Doc
View Source
PublisherProbe
Declaration
public TestProbe PublisherProbe { get; }
Property Value
|
Improve this Doc
View Source
Subscriber
Declaration
public ISubscriber<T> Subscriber { get; }
Property Value
Type |
Description |
Reactive.Streams.ISubscriber<T> |
|
Methods
|
Improve this Doc
View Source
Cancel()
Declaration
|
Improve this Doc
View Source
ExpectCancellation(CancellationToken)
Declaration
public void ExpectCancellation(CancellationToken cancellationToken = default(CancellationToken))
Parameters
|
Improve this Doc
View Source
ExpectCancellationAsync(CancellationToken)
Declaration
public async Task ExpectCancellationAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Returns
|
Improve this Doc
View Source
ExpectRequest(Int64, CancellationToken)
Declaration
public void ExpectRequest(long n, CancellationToken cancellationToken = default(CancellationToken))
Parameters
|
Improve this Doc
View Source
ExpectRequest(CancellationToken)
Declaration
public long ExpectRequest(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Returns
|
Improve this Doc
View Source
ExpectRequestAsync(Int64, CancellationToken)
Declaration
public async Task ExpectRequestAsync(long n, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Returns
|
Improve this Doc
View Source
ExpectRequestAsync(CancellationToken)
Declaration
public async Task<long> ExpectRequestAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Returns
|
Improve this Doc
View Source
Request(Int64)
Declaration
public void Request(long n)
Parameters
Type |
Name |
Description |
Int64 |
n |
|
|
Improve this Doc
View Source
SendComplete()
Declaration
public void SendComplete()
|
Improve this Doc
View Source
SendError(Exception)
Declaration
public void SendError(Exception cause)
Parameters
|
Improve this Doc
View Source
SendNext(T)
Declaration
public void SendNext(T element)
Parameters
Type |
Name |
Description |
T |
element |
|
|
Improve this Doc
View Source
SendOnSubscribe()
Declaration
public void SendOnSubscribe()
Implements
Reactive.Streams.ISubscription
Extension Methods