Skip to main content

Context helpers

Shreds may be generators (yield dur or yield ~dur) or async def driven by torq.py (not asyncio.run). Prefer keeping while / yield available; shortcuts are additions, not replacements.

Patterns

Optional unary +

@shred is only for unary +. It is not required for async or for spork(fn).