MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / SendAsyncInitiation

Function SendAsyncInitiation

tsunami/app/defaultclient.go:63–65  ·  view source on GitHub ↗

SendAsyncInitiation notifies the frontend that the backend has updated state and requires a re-render. Normally the frontend calls the backend in response to events, but when the backend changes state independently (e.g., from a background process), this function gives the frontend a "nudge" to upda

()

Source from the content-addressed store, hash-verified

61// to events, but when the backend changes state independently (e.g., from a
62// background process), this function gives the frontend a "nudge" to update.
63func SendAsyncInitiation() error {
64 return engine.GetDefaultClient().SendAsyncInitiation()
65}
66
67func TermWrite(ref *vdom.VDomRef, data string) error {
68 if ref == nil || !ref.HasCurrent.Load() {

Callers

nothing calls this directly

Calls 2

GetDefaultClientFunction · 0.92
SendAsyncInitiationMethod · 0.45

Tested by

no test coverage detected