Packages

package action

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract class Action extends AnyRef

    Actions are stateless components that can be used to implement different uses cases, such as:

    Actions are stateless components that can be used to implement different uses cases, such as:

    • a pure function.
    • request conversion - you can use Actions to convert incoming data into a different format before forwarding a call to a different component.
    • publish messages to a Topic.
    • subscribe to events from an Event Sourced Entity.
    • subscribe to state changes from a Value Entity.
    • schedule and cancel Timers.

    Actions can be triggered in multiple ways. For example, by:

    • a gRPC service call.
    • an HTTP service call.
    • a forwarded call from another component.
    • a scheduled call from a Timer.
    • an incoming message from a Topic.
    • an incoming event from an Event Sourced Entity, from within the same service or from a different service.
    • state changes notification from a Value Entity on the same service.

    An Action method should return an kalix.scalasdk.action.Action.Effect that describes what to do next.

  2. trait ActionContext extends MetadataContext
  3. trait ActionCreationContext extends Context
  4. trait ActionOptions extends ComponentOptions
  5. trait ActionProvider[A <: Action] extends AnyRef
  6. trait MessageEnvelope[T] extends AnyRef

Value Members

  1. object Action
  2. object ActionOptions
  3. object MessageEnvelope

Ungrouped