OxL Справочник OxL
РусскийEnglish

bank-saga

A money transfer as a saga (Standard §11.3): debit the source, credit the target; when the credit fails the debit is compensated. Accounts are sharded actors, Bank is a service whose methods are @idempotent (every saga step gets an idempotency key). oxl run makes two transfers, oxl test checks the happy path and the compensation.

Файлы проекта#

Скачать проект (zip)

Исходник: examples/bank-saga

OxL 1.0.0-beta · Версия документации 1.0.0-beta© OxwaldLink · сгенерировано из Стандарта, исходников std и руководства