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

Method SendAsyncInitiation

pkg/waveapp/waveapp.go:229–241  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

227}
228
229func (c *Client) SendAsyncInitiation() error {
230 if c.VDomContextBlockId == "" {
231 return fmt.Errorf("no vdom context block id")
232 }
233 if c.GetIsDone() {
234 return fmt.Errorf("client is done")
235 }
236 return wshclient.VDomAsyncInitiationCommand(
237 c.RpcClient,
238 vdom.MakeAsyncInitiationRequest(c.RpcContext.BlockId),
239 &wshrpc.RpcOpts{Route: wshutil.MakeFeBlockRouteId(c.VDomContextBlockId)},
240 )
241}
242
243func (c *Client) SetAtomVals(m map[string]any) {
244 for k, v := range m {

Callers

nothing calls this directly

Implementers 1

WshRouterpkg/wshutil/wshrouter.go

Calls 4

GetIsDoneMethod · 0.95
MakeFeBlockRouteIdFunction · 0.92

Tested by

no test coverage detected