Table of Contents

Class TestBarrier

Namespace
Akka.TestKit
Assembly
Akka.TestKit.dll

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.

public class TestBarrier
Inheritance
TestBarrier
Inherited Members

Constructors

TestBarrier(TestKitBase, int, TimeSpan?)

TBD

public TestBarrier(TestKitBase testKit, int count, TimeSpan? defaultTimeout = null)

Parameters

testKit TestKitBase

TBD

count int

TBD

defaultTimeout TimeSpan?

TBD

Fields

DefaultTimeout

Obsolete. Use DefaultTimeout instead.

[Obsolete("This field will be removed in future versions.")]
public static readonly TimeSpan DefaultTimeout

Field Value

TimeSpan

Methods

Await()

TBD

public void Await()

Await(TimeSpan)

TBD

public void Await(TimeSpan timeout)

Parameters

timeout TimeSpan

TBD

Reset()

TBD

public void Reset()