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

Method BeginBlockAsync

abci/client/grpc_client.go:249–256  ·  view source on GitHub ↗
(params types.RequestBeginBlock)

Source from the content-addressed store, hash-verified

247}
248
249func (cli *grpcClient) BeginBlockAsync(params types.RequestBeginBlock) *ReqRes {
250 req := types.ToRequestBeginBlock(params)
251 res, err := cli.client.BeginBlock(context.Background(), req.GetBeginBlock(), grpc.WaitForReady(true))
252 if err != nil {
253 cli.StopForError(err)
254 }
255 return cli.finishAsyncCall(req, &types.Response{Value: &types.Response_BeginBlock{BeginBlock: res}})
256}
257
258func (cli *grpcClient) EndBlockAsync(params types.RequestEndBlock) *ReqRes {
259 req := types.ToRequestEndBlock(params)

Callers 1

BeginBlockSyncMethod · 0.95

Calls 5

StopForErrorMethod · 0.95
finishAsyncCallMethod · 0.95
ToRequestBeginBlockFunction · 0.92
BeginBlockMethod · 0.65
GetBeginBlockMethod · 0.45

Tested by

no test coverage detected