Class TestBarrier
Wraps a Barrier for use in testing. It always uses a timeout when waiting. Timeouts will always throw an exception. The default timeout is based on TestKits default out, see DefaultTimeout.
Inherited Members
Namespace: Akka.TestKit
Assembly: Akka.TestKit.dll
Syntax
public class TestBarrier
Constructors
| Edit this page View SourceTestBarrier(TestKitBase, int, TimeSpan?)
TBD
Declaration
public TestBarrier(TestKitBase testKit, int count, TimeSpan? defaultTimeout = null)
Parameters
| Type | Name | Description |
|---|---|---|
| TestKitBase | testKit | TBD |
| int | count | TBD |
| TimeSpan? | defaultTimeout | TBD |
Fields
| Edit this page View SourceDefaultTimeout
Obsolete. Use DefaultTimeout instead.
Declaration
[Obsolete("This field will be removed in future versions.")]
public static readonly TimeSpan DefaultTimeout
Field Value
| Type | Description |
|---|---|
| TimeSpan |
Methods
| Edit this page View SourceAwait()
TBD
Declaration
public void Await()
Await(TimeSpan)
TBD
Declaration
public void Await(TimeSpan timeout)
Parameters
| Type | Name | Description |
|---|---|---|
| TimeSpan | timeout | TBD |
Reset()
TBD
Declaration
public void Reset()
Edit this page