Swift / Reference example
Observe cancellation inside a Swift task
Stop a loop cooperatively; cancellation is not remote transaction rollback.
Open recipe →Code recipes / Mobile & backend
Focused patterns with code you can copy, explanations of trust boundaries and failure cases, and links to primary sources. Platform examples are educational references, not unverified claims of production deployment.
6 recipes
Swift / Reference example
Stop a loop cooperatively; cancellation is not remote transaction rollback.
Open recipe →Kotlin / Reference example
Explicitly check coroutine cancellation in a long-running suspend function.
Open recipe →SQL / Reference example
A uniqueness constraint is the foundation for atomic operation claims.
Open recipe →TypeScript / Tested teaching helper
A client or attestation verdict cannot grant access to someone else's object.
Open recipe →TypeScript / Tested teaching helper
Cap exponential retry delays and let the caller enforce a total deadline.
Open recipe →TypeScript / Tested teaching helper
Create a structured outcome without recording the input's token or password.
Open recipe →