Package akka.javasdk.testkit
Interface TimedActionResult
public interface TimedActionResult
Represents the result of an Action handling a command when run in through the testkit.
Not for user extension, returned by the testkit.
-
Method Summary
-
Method Details
-
isDone
boolean isDone()- Returns:
- true if the call had an effect with a reply, false if not
-
isAsync
boolean isAsync()- Returns:
- true if the call was async, false if not
-
isError
boolean isError()- Returns:
- true if the call was an error, false if not
-
getError
String getError()- Returns:
- The error description returned or throws if the effect returned by the action was not an error
-