How-To Guides
Use these guides when you already understand the core @ddgutierrezc/legato-contract reference surface and need practical implementation patterns.
Guides
Section titled “Guides”| Guide | When to use it |
|---|---|
| Model a Track | You need to construct valid Track objects, including optional metadata and transport headers. |
| Consume Events and Payloads | You want strongly typed event handling with LEGATO_EVENT_NAMES, LegatoEventName, and LegatoEventPayload. |
| Validate Runtime Invariants | You need defensive consumer-side validation based on exported contract constants. |