Interface AwakeableHandle


public interface AwakeableHandle
This class represents a handle to an Awakeable created in another service.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    reject(String reason)
    Complete with failure the Awakeable.
    <T> void
    resolve(Serde<T> serde, T payload)
    Complete with success the Awakeable.
  • Method Details

    • resolve

      <T> void resolve(Serde<T> serde, T payload)
      Complete with success the Awakeable.
      Parameters:
      serde - used to serialize the Awakeable result payload.
      payload - the result payload. MUST NOT be null.
      See Also:
    • reject

      void reject(String reason)
      Complete with failure the Awakeable.
      Parameters:
      reason - the rejection reason. MUST NOT be null.
      See Also: