Documentation
¶
Overview ¶
Package waiting renders the minutes a workspace takes to come up. The wait has no useful output of its own, so it carries the things a new user would otherwise have to go read.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Screen ¶
type Screen struct {
// contains filtered or unexported fields
}
Screen is the plain text view of a wait that takes minutes and produces almost no output of its own. A terminal that prints one line and then goes quiet reads as a hang, so every stage prints a line and, on a TTY, a note about workspaces follows every few seconds. Nothing is redrawn, the lines scroll like any other output.
func (*Screen) Pause ¶
func (s *Screen) Pause()
Pause holds the notes while the caller prints and reads on the terminal, such as the browser hand-over, a note arriving in the middle of a prompt would be confusing. Resume lets them go on.
func (*Screen) Start ¶
func (s *Screen) Start()
Start begins the notes. A pipe or a CI log gets the steps only, a tip about parking sandboxes is noise there.