TestSubscriberProbeT Class |
Namespace: Akka.Streams.TestKit
[Missing <typeparam name="T"/> documentation for "T:Akka.Streams.TestKit.TestSubscriber.Probe`1"]
The TestSubscriberProbeT type exposes the following members.
Name | Description | |
---|---|---|
Cancel | ||
EnsureSubscription |
Asserts that a subscription has been received or will be received
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
ExpectComplete |
Fluent DSL. Expect completion.
(Inherited from TestSubscriberManualProbeT.) | |
ExpectError |
Expect and return the signalled Exception.
(Inherited from TestSubscriberManualProbeT.) | |
ExpectEvent |
Expect and return TestSubscriberISubscriberEvent (any of: OnSubscribe(ISubscription), OnNext(T), OnError(Exception) or OnComplete).
(Inherited from TestSubscriberManualProbeT.) | |
ExpectEvent(TimeSpan) |
Expect and return TestSubscriberISubscriberEvent (any of: OnSubscribe(ISubscription), OnNext(T), OnError(Exception) or OnComplete).
(Inherited from TestSubscriberManualProbeT.) | |
ExpectEvent(TestSubscriberISubscriberEvent) |
Fluent DSL. Expect and return TestSubscriberISubscriberEvent (any of: OnSubscribe(ISubscription), OnNext(T), OnError(Exception) or OnComplete).
(Inherited from TestSubscriberManualProbeT.) | |
ExpectEventTOther(FuncTestSubscriberISubscriberEvent, TOther) | (Inherited from TestSubscriberManualProbeT.) | |
ExpectNext |
Expect and return a stream element.
(Inherited from TestSubscriberManualProbeT.) | |
ExpectNext(T) |
Fluent DSL. Expect a stream element.
(Inherited from TestSubscriberManualProbeT.) | |
ExpectNext(T, TimeSpan) |
Fluent DSL. Expect a stream element during specified timeout.
(Inherited from TestSubscriberManualProbeT.) | |
ExpectNext(T, T, T) |
Fluent DSL. Expect multiple stream elements.
(Inherited from TestSubscriberManualProbeT.) | |
ExpectNextTOther(PredicateTOther) | (Inherited from TestSubscriberManualProbeT.) | |
ExpectNextN(IEnumerableT) |
Fluent DSL. Expect the given elements to be signalled in order.
(Inherited from TestSubscriberManualProbeT.) | |
ExpectNextN(Int64) |
Expect and return the next n stream elements.
(Inherited from TestSubscriberManualProbeT.) | |
ExpectNextOrComplete |
Expect given next element or stream completion, returning whichever was signaled.
(Inherited from TestSubscriberManualProbeT.) | |
ExpectNextOrComplete(T) |
Fluent DSL. Expect given next element or stream completion.
(Inherited from TestSubscriberManualProbeT.) | |
ExpectNextOrError |
Expect given next element or error signal, returning whichever was signaled.
(Inherited from TestSubscriberManualProbeT.) | |
ExpectNextOrError(T, Exception) |
Fluent DSL. Expect given next element or error signal.
(Inherited from TestSubscriberManualProbeT.) | |
ExpectNextUnordered |
FluentDSL. Expect multiple stream elements in arbitrary order.
(Inherited from TestSubscriberManualProbeT.) | |
ExpectNextUnorderedN |
Fluent DSL. Expect the given elements to be signalled in any order.
(Inherited from TestSubscriberManualProbeT.) | |
ExpectNoMsg |
Fluent DSL. Same as ExpectNoMsg(TimeSpan), but correctly treating the timeFactor.
(Inherited from TestSubscriberManualProbeT.) | |
ExpectNoMsg(TimeSpan) |
Fluent DSL. Assert that no message is received for the specified time.
(Inherited from TestSubscriberManualProbeT.) | |
ExpectSubscription |
Expects and returns ISubscription.
(Inherited from TestSubscriberManualProbeT.) | |
ExpectSubscriptionAndComplete |
Fluent DSL. Expect subscription followed by immediate stream completion. By default single demand will be signaled in order to wake up a possibly lazy upstream
(Inherited from TestSubscriberManualProbeT.) | |
ExpectSubscriptionAndComplete(Boolean) |
Fluent DSL. Expect subscription followed by immediate stream completion. Depending on the `signalDemand` parameter
demand may be signaled immediately after obtaining the subscription in order to wake up a possibly lazy upstream.
You can disable this by setting the `signalDemand` parameter to `false`.
(Inherited from TestSubscriberManualProbeT.) | |
ExpectSubscriptionAndError |
Expect subscription to be followed immediately by an error signal. By default single demand will be signaled in order to wake up a possibly lazy upstream.
(Inherited from TestSubscriberManualProbeT.) | |
ExpectSubscriptionAndError(Boolean) |
Expect subscription to be followed immediately by an error signal. Depending on the `signalDemand` parameter demand may be signaled
immediately after obtaining the subscription in order to wake up a possibly lazy upstream.You can disable this by setting the `signalDemand` parameter to `false`.
(Inherited from TestSubscriberManualProbeT.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnComplete | (Inherited from TestSubscriberManualProbeT.) | |
OnError | (Inherited from TestSubscriberManualProbeT.) | |
OnNext | (Inherited from TestSubscriberManualProbeT.) | |
OnSubscribe | (Inherited from TestSubscriberManualProbeT.) | |
ReceiveWhileTOther |
Receive messages for a given duration or until one does not match a given partial function.
(Inherited from TestSubscriberManualProbeT.) | |
ReceiveWithinTOther |
Drains a given number of messages
(Inherited from TestSubscriberManualProbeT.) | |
Request | ||
RequestNext | ||
RequestNext(T) | ||
ToStrict |
Attempt to drain the stream into a strict collection (by requesting MaxValue elements).
(Inherited from TestSubscriberManualProbeT.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
WithinTOther | (Inherited from TestSubscriberManualProbeT.) |
Name | Description | |
---|---|---|
AsInstanceOfT |
TBD
(Defined by Extensions.) | |
Match | Overloaded.
Matches the specified target.
(Defined by PatternMatch.) | |
MatchT | Overloaded.
Matches the specified target and return a result of target processing.
(Defined by PatternMatch.) |