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

Method CommitAsync

abci/client/grpc_client.go:231–238  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

229}
230
231func (cli *grpcClient) CommitAsync() *ReqRes {
232 req := types.ToRequestCommit()
233 res, err := cli.client.Commit(context.Background(), req.GetCommit(), grpc.WaitForReady(true))
234 if err != nil {
235 cli.StopForError(err)
236 }
237 return cli.finishAsyncCall(req, &types.Response{Value: &types.Response_Commit{Commit: res}})
238}
239
240func (cli *grpcClient) InitChainAsync(params types.RequestInitChain) *ReqRes {
241 req := types.ToRequestInitChain(params)

Callers 1

CommitSyncMethod · 0.95

Calls 5

StopForErrorMethod · 0.95
finishAsyncCallMethod · 0.95
ToRequestCommitFunction · 0.92
CommitMethod · 0.65
GetCommitMethod · 0.45

Tested by

no test coverage detected