()
| 227 | } |
| 228 | |
| 229 | func (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 | |
| 243 | func (c *Client) SetAtomVals(m map[string]any) { |
| 244 | for k, v := range m { |
nothing calls this directly
no test coverage detected