MCPcopy Create free account
hub / github.com/charmbracelet/bubbletea / Wait

Method Wait

tea.go:1346–1348  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

1344
1345// Wait waits/blocks until the underlying Program finished shutting down.
1346func (p *Program) Wait() {
1347 <-p.finished
1348}
1349
1350// execute writes the given sequence to the program output.
1351func (p *Program) execute(seq string) {

Callers 6

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

Calls

no outgoing calls

Tested by 4

TestTeaWaitQuitFunction · 0.76
TestTeaWaitKillFunction · 0.76