Class AsyncCallsSupport

Object
akka.javasdk.testkit.AsyncCallsSupport
Direct Known Subclasses:
TestKitSupport

public abstract class AsyncCallsSupport extends Object
  • Constructor Details Link icon

    • AsyncCallsSupport Link icon

      public AsyncCallsSupport()
  • Method Details Link icon

    • await Link icon

      public <I, O> O await(CompletionStage<O> stage)
    • await Link icon

      public <I, O> O await(CompletionStage<O> stage, Duration timeout)
    • failed Link icon

      public <O> Exception failed(CompletionStage<O> stage)
      If completed with an exception, returns the exception. If completed successfully, fail with runtime exception.