Class AnyAwaitable

java.lang.Object
dev.restate.sdk.Awaitable<U>
dev.restate.sdk.AnyAwaitable

public final class AnyAwaitable extends Awaitable<U>
  • Method Details

    • awaitIndex

      public int awaitIndex()
      Same as Awaitable.await(), but returns the index.
    • deferred

      protected dev.restate.sdk.common.syscalls.Deferred<?> deferred()
      Specified by:
      deferred in class Awaitable<U>
    • awaitResult

      public dev.restate.sdk.common.syscalls.Result<Object> awaitResult() throws dev.restate.sdk.common.TerminalException
      Specified by:
      awaitResult in class Awaitable<U>
      Throws:
      dev.restate.sdk.common.TerminalException