Package akka.javasdk

Interface DeferredCall<I,O>

Type Parameters:
I - The type of message the call accepts
O - The type of message the call returns

public interface DeferredCall<I,O>
Represents a call to another component that can be persisted and invoked later.

Not for user extension.

  • Method Details

    • message

      I message()
      The message to pass to the call when the call is invoked.
    • metadata

      Metadata metadata()
      Returns:
      The metadata to pass with the message when the call is invoked.
    • withMetadata

      DeferredCall<I,O> withMetadata(Metadata metadata)
      Returns:
      DeferredCall with updated metadata