You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Send transport SPI: outgoing messages and native configurators #60
Implement the send-side transport SPI from D23 and design §2.4, unblocking #5.
Scope and owned files:
Add OutgoingMessage in src/Relayer/Sending with destination, serialized body, named headers, stable envelope metadata, ordering key, delivery time, and native send options. Document buffer ownership across awaited sends.
Add single and batch send methods to src/Relayer/Transports/ITransport.cs. Native adapters must preserve native send semantics and observe cancellation.
Update src/Relayer/Sending/SendOptions.cs to store native delegates without wrapping closures and apply them through ApplyNative<TNative>. Reject mismatched types clearly and expose a guard that rejects native delegates before outbox enlistment.
Unit tests for the shared outgoing shape, native configuration, and outbox guard; MemoryDiagnoser benchmarks for any changed steady-state work.
Acceptance: direct sends, outbox dispatch, scheduled copies, and dead-letter copies can use the same send contract; applying preconfigured native callbacks allocates 0 B; no per-message reflection or Type lookup. Sender routing and transaction detection remain in #5 and outbox implementation issues.
Activity
feat: add shared send transport contracts (#60) (#63)