Jido.Messaging.IngressSink (Jido Messaging v1.0.0)

Copy Markdown View Source

Shared ingress sink for adapter-owned listener workers.

This module is the runtime-facing callback target that adapter listeners can invoke via sink_mfa without compile-time references to platform packages.

Summary

Functions

Emits an inbound payload through runtime ingress.

Types

mode()

@type mode() :: :webhook | :payload

Functions

emit(instance_module, bridge_id, payload, opts \\ [])

@spec emit(module(), String.t(), map(), keyword()) :: term()

Emits an inbound payload through runtime ingress.

Modes:

  • :webhook (default) routes via route_webhook_request/5
  • :payload routes via route_payload/4