Tay.Event (tay v1.3.3)

Copy Markdown View Source

Production Event v2 semantic codec. Event-v1 types remain byte-for-byte compatible and are decoded through the V2 implementation. The runtime Event struct is not serialized; only approved exact string-keyed payload schemas are encoded. State- and registry-independent decoding implements the recovery EventDecoder boundary.

Summary

Functions

encode(event, limits \\ Value.defaults(), max_bytes \\ 16_777_216)