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

Method Pipeline

osscluster.go:1550–1556  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1548}
1549
1550func (c *ClusterClient) Pipeline() Pipeliner {
1551 pipe := Pipeline{
1552 exec: pipelineExecer(c.processPipelineHook),
1553 }
1554 pipe.init()
1555 return &pipe
1556}
1557
1558func (c *ClusterClient) Pipelined(ctx context.Context, fn func(Pipeliner) error) ([]Cmder, error) {
1559 return c.Pipeline().Pipelined(ctx, fn)

Callers 1

PipelinedMethod · 0.95

Calls 2

initMethod · 0.95
pipelineExecerFuncType · 0.85

Tested by

no test coverage detected