Tay.State.Transition (tay v0.7.0)

Copy Markdown View Source

The sole pure Event v1 lifecycle model, shared by live commands and replay. Prepare performs all business validation; apply binds only a validated physical position. There is no time, randomness, registry, ETS or I/O in this module. Candidate limits are operational accounting budgets, not format validity/RSS.

Summary

Functions

apply(prepared, arg2)

candidate(limits \\ %{}, value_limits \\ Value.defaults())

prepare(previous, event, limits \\ Value.defaults())

put_candidate(candidate, previous, job)

reduce(event, position, candidate)