activityrecipes

package
v0.35.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2026 License: MIT Imports: 19 Imported by: 0

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

func New

func New(t theme.Theme) screen.Screen

New returns the recipes, one per tab.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL