Class AsyncCallsSupport

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

public abstract class AsyncCallsSupport extends Object
  • Constructor Details

    • AsyncCallsSupport

      public AsyncCallsSupport()
  • Method Details

    • await

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

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

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