Documentation
¶
Overview ¶
Package activityrecipes is the row-activity API one shape at a time, against an Argo-shaped demoapi. Each tab is a recipe small enough to copy:
- observe.go: rows spin because the server says so. BusyWhen, BeginRead, ApplyRead. Every other recipe embeds this one.
- sync.go: a POST that answers at once (activity.Observed), plus UnobservedMsg for a sync that finished between polls.
- refresh.go: a GET that blocks until the work is done (activity.Held).
- job.go: a job handle polled to the end (activity.Held).
Only one decision differs between them: who knows when the work ends. If the server's status does, use Observed. If the request or a job does, use Held.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.