Package akka.javasdk.testkit
Class AsyncCallsSupport
Object
akka.javasdk.testkit.AsyncCallsSupport
- Direct Known Subclasses:
TestKitSupport
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<I,
O> O await
(CompletionStage<O> stage) <I,
O> O await
(CompletionStage<O> stage, Duration timeout) <O> Exception
failed
(CompletionStage<O> stage) If completed with an exception, returns the exception.
-
Constructor Details
-
AsyncCallsSupport
public AsyncCallsSupport()
-
-
Method Details
-
await
-
await
-
failed
If completed with an exception, returns the exception. If completed successfully, fail with runtime exception.
-