MCPcopy
hub / github.com/wavetermdev/waveterm / StreamCpuDataCommand

Method StreamCpuDataCommand

frontend/app/store/wshclientapi.ts:904–907  ·  view source on GitHub ↗
(client: WshClient, data: CpuDataRequest, opts?: RpcOpts)

Source from the content-addressed store, hash-verified

902
903 // command "streamcpudata" [responsestream]
904 StreamCpuDataCommand(client: WshClient, data: CpuDataRequest, opts?: RpcOpts): AsyncGenerator<TimeSeriesData, void, boolean> {
905 if (this.mockClient) return this.mockClient.mockWshRpcStream(client, "streamcpudata", data, opts);
906 return client.wshRpcStream("streamcpudata", data, opts);
907 }
908
909 // command "streamdata" [call]
910 StreamDataCommand(client: WshClient, data: CommandStreamData, opts?: RpcOpts): Promise<void> {

Callers

nothing calls this directly

Calls 2

mockWshRpcStreamMethod · 0.80
wshRpcStreamMethod · 0.80

Tested by

no test coverage detected