Framework.Effects.Worker (Framework v0.5.0)

View Source

Effects Worker for executing effects post-commit.

Handles execution of webhook, email, and emit_operation effects with:

  • Idempotent execution using external_id
  • Exponential backoff on failures
  • Dead-letter queue for terminal failures
  • HTTP using Req + Finch for external calls

Effect types

  • :webhook - HTTP POST with Idempotency-Key header
  • :email - Email sending
  • :emit_operation - Emit operation back into Framework.Kernel