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
()
| 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. |
| 63 | func SendAsyncInitiation() error { |
| 64 | return engine.GetDefaultClient().SendAsyncInitiation() |
| 65 | } |
| 66 | |
| 67 | func TermWrite(ref *vdom.VDomRef, data string) error { |
| 68 | if ref == nil || !ref.HasCurrent.Load() { |
nothing calls this directly
no test coverage detected