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