MCPcopy
hub / github.com/redis/go-redis / processTxPipeline

Method processTxPipeline

redis.go:1129–1134  ·  view source on GitHub ↗
(ctx context.Context, cmds []Cmder)

Source from the content-addressed store, hash-verified

1127}
1128
1129func (c *baseClient) processTxPipeline(ctx context.Context, cmds []Cmder) error {
1130 if err := c.generalProcessPipeline(ctx, cmds, c.txPipelineProcessCmds, "MULTI"); err != nil {
1131 return err
1132 }
1133 return cmdsFirstErr(cmds)
1134}
1135
1136type pipelineProcessor func(context.Context, *pool.Conn, []Cmder) (bool, error)
1137

Callers

nothing calls this directly

Calls 2

cmdsFirstErrFunction · 0.85

Tested by

no test coverage detected