Class Utils
Assembly: Akka.Streams.TestKit.dll
Syntax
public static class Utils
Properties
|
Improve this Doc
View Source
UnboundedMailboxConfig
Declaration
public static Config UnboundedMailboxConfig { get; }
Property Value
Methods
|
Improve this Doc
View Source
AssertAllStagesStopped(TestKitBase, Action, IMaterializer, Nullable<TimeSpan>, CancellationToken)
Declaration
public static void AssertAllStagesStopped(this TestKitBase spec, Action block, IMaterializer materializer, TimeSpan? timeout = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
|
Improve this Doc
View Source
AssertAllStagesStopped<T>(TestKitBase, Func<T>, IMaterializer, Nullable<TimeSpan>, CancellationToken)
Declaration
public static T AssertAllStagesStopped<T>(this TestKitBase spec, Func<T> block, IMaterializer materializer, TimeSpan? timeout = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
AssertAllStagesStoppedAsync(TestKitBase, Func<Task>, IMaterializer, Nullable<TimeSpan>, CancellationToken)
Declaration
public static async Task AssertAllStagesStoppedAsync(this TestKitBase spec, Func<Task> block, IMaterializer materializer, TimeSpan? timeout = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Returns
|
Improve this Doc
View Source
AssertAllStagesStoppedAsync<T>(TestKitBase, Func<Task<T>>, IMaterializer, Nullable<TimeSpan>, CancellationToken)
Declaration
public static async Task<T> AssertAllStagesStoppedAsync<T>(this TestKitBase spec, Func<Task<T>> block, IMaterializer materializer, TimeSpan? timeout = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
AssertDispatcher(IActorRef, String)
Declaration
public static void AssertDispatcher(IActorRef ref, string dispatcher)
Parameters
|
Improve this Doc
View Source
AwaitResult<T>(Task<T>, Nullable<TimeSpan>)
Declaration
[Obsolete("Use ShouldCompleteWithin instead")]
public static T AwaitResult<T>(this Task<T> task, TimeSpan? timeout = null)
Parameters
Returns
Type Parameters