MCPcopy
hub / github.com/charmbracelet/bubbletea / Wait

Method Wait

tea.go:1209–1211  ·  view source on GitHub ↗

Wait waits/blocks until the underlying Program finished shutting down.

()

Source from the content-addressed store, hash-verified

1207
1208// Wait waits/blocks until the underlying Program finished shutting down.
1209func (p *Program) Wait() {
1210 <-p.finished
1211}
1212
1213// execute writes the given sequence to the program output.
1214func (p *Program) execute(seq string) {

Callers 4

TestTeaWaitQuitFunction · 0.95
TestTeaWaitKillFunction · 0.95
shutdownMethod · 0.80
execBatchMsgMethod · 0.80

Calls

no outgoing calls

Tested by 2

TestTeaWaitQuitFunction · 0.76
TestTeaWaitKillFunction · 0.76