MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / EndBlockAsync

Method EndBlockAsync

abci/client/grpc_client.go:258–265  ·  view source on GitHub ↗
(params types.RequestEndBlock)

Source from the content-addressed store, hash-verified

256}
257
258func (cli *grpcClient) EndBlockAsync(params types.RequestEndBlock) *ReqRes {
259 req := types.ToRequestEndBlock(params)
260 res, err := cli.client.EndBlock(context.Background(), req.GetEndBlock(), grpc.WaitForReady(true))
261 if err != nil {
262 cli.StopForError(err)
263 }
264 return cli.finishAsyncCall(req, &types.Response{Value: &types.Response_EndBlock{EndBlock: res}})
265}
266
267func (cli *grpcClient) ListSnapshotsAsync(params types.RequestListSnapshots) *ReqRes {
268 req := types.ToRequestListSnapshots(params)

Callers 1

EndBlockSyncMethod · 0.95

Calls 5

StopForErrorMethod · 0.95
finishAsyncCallMethod · 0.95
ToRequestEndBlockFunction · 0.92
EndBlockMethod · 0.65
GetEndBlockMethod · 0.45

Tested by

no test coverage detected