the standard library
nika:wait
Pause: relative duration (e.g. "30s") XOR absolute until (ISO 8601). Exactly one. One of 28 builtins in the closed nika: namespace: control flow and run-stream primitives.
- corefamily6 tools
- 3argsdeclared contract
- 0requiredall optional
- craftedusage filecheck-green below
the contract
3 args · 0 requiredA missing required arg is a nika check finding before anything runs; the vocabulary below comes from the binary itself (nika catalog --tools --json), not from prose.
- duration
stringGo-duration string · relative- until
stringISO 8601 timestamp · absolute- timeout
stringoptional cap for absolute wait
in a real file
a complete workflownika: v1workflow: id: let-the-index-settle description: "a declared pause — relative duration XOR absolute until"tasks: publish: invoke: tool: "nika:notify" args: target: "https://hooks.example.com/deploys" message: "docs published" settle: after: publish: success invoke: tool: "nika:wait" args: { duration: "30s" } verify: after: settle: success invoke: tool: "nika:fetch" args: url: "https://docs.example.com/health" mode: jq jq: ".status"a complete file, nika check green; the drift gate re-validates this copy against the schema on every test run. open it in the playground →
cross-references
ships in skeletons
no skeleton ships it; the crafted file above is the reference.
the check gates
the core family
6 toolscontrol flow and run-stream primitives.
Machines read the same vocabulary at /tools/catalog.json; the contract lives in spec 06 · stdlib. Install and ask the binary itself: nika catalog --tools. Read the spec →