The series of Command objects generated by the pipeline is then run by an interpreter using runEffect(checkoutFlow(cartSummary)). Because our business logic consists of pure functions that interact with the world only through data, we can record those interactions simply by adding a few hooks for services like OpenTelemetry. And if we can record them, we can replay them deterministically. Best of all, there’s no need to mock a single database or external service.
Что думаешь? Оцени!
,这一点在heLLoword翻译官方下载中也有详细论述
Latest in Operating Systems
Венгрии и Словакии предложили обойтись без «Дружбы»Премьер Хорватии Пленкович: Венгрия может получать нефть по трубопроводу Adria