Interface Workflow.Effect.Transitional

All Superinterfaces:
Workflow.Effect<Void>, Workflow.Effect.TransitionalEffect<Void>
Enclosing interface:
Workflow.Effect<T>

public static interface Workflow.Effect.Transitional extends Workflow.Effect.TransitionalEffect<Void>
  • Method Details

    • thenReply

      <R> Workflow.Effect<R> thenReply(R message)
      Reply after for example updateState.
      Specified by:
      thenReply in interface Workflow.Effect.TransitionalEffect<Void>
      Type Parameters:
      R - The type of the message that must be returned by this call.
      Parameters:
      message - The payload of the reply.
      Returns:
      A message reply.
    • thenReply

      <R> Workflow.Effect<R> thenReply(R message, Metadata metadata)
      Reply after for example updateState.
      Specified by:
      thenReply in interface Workflow.Effect.TransitionalEffect<Void>
      Type Parameters:
      R - The type of the message that must be returned by this call.
      Parameters:
      message - The payload of the reply.
      metadata - The metadata for the message.
      Returns:
      A message reply.