WillowScript (.ws) is a proposed, not-yet-implemented language. Examples and library integrations here are illustrative design exercises, not verified runnable programs.
Write a cancellation contract
A task can outlive the screen or action that started it. Write down who owns that work and which result is still relevant before discussing syntax. Cooperative task scheduling and native background work have different responsibilities and must not be treated as identical.
- 1→
Write a cancellation contract — Discover and trace
Make a prediction before touching the example.
Open practice - 2→
Write a cancellation contract — Build the smallest useful slice
Change one useful behavior while keeping the contract small.
Open practice - 3→
Write a cancellation contract — Change one requirement
Translate one new mod requirement into a deliberate change.
Open practice - 4→
Write a cancellation contract — Boundary detective
Find a case the simplest success path does not cover.
Open practice - 5→
Write a cancellation contract — Flash-check repair
Use a plausible mistake to show that you understand the mechanism.
Open practice - 6→
Write a cancellation contract — Connect the previous skills
Connect this idea with a previously learned responsibility.
Open practice - 7→
Write a cancellation contract — Review and demonstrate
Collect a useful learning record without pretending the code was executed.
Open practice - 8→
Module project — Cancelable workflow design
Turn the section work into one reviewable mod feature.
Open practice
