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

Method TxPipeline

ring.go:827–836  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

825}
826
827func (c *Ring) TxPipeline() Pipeliner {
828 pipe := Pipeline{
829 exec: func(ctx context.Context, cmds []Cmder) error {
830 cmds = wrapMultiExec(ctx, cmds)
831 return c.processTxPipelineHook(ctx, cmds)
832 },
833 }
834 pipe.init()
835 return &pipe
836}
837
838func (c *Ring) generalProcessPipeline(
839 ctx context.Context, cmds []Cmder, tx bool,

Callers 1

TxPipelinedMethod · 0.95

Calls 3

initMethod · 0.95
wrapMultiExecFunction · 0.85
processTxPipelineHookMethod · 0.80

Tested by

no test coverage detected