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

Method Pipeline

redis.go:1516–1522  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1514}
1515
1516func (c *Client) Pipeline() Pipeliner {
1517 pipe := Pipeline{
1518 exec: pipelineExecer(c.processPipelineHook),
1519 }
1520 pipe.init()
1521 return &pipe
1522}
1523
1524func (c *Client) TxPipelined(ctx context.Context, fn func(Pipeliner) error) ([]Cmder, error) {
1525 return c.TxPipeline().Pipelined(ctx, fn)

Callers 2

PipelinedMethod · 0.95

Calls 2

initMethod · 0.95
pipelineExecerFuncType · 0.85

Tested by 1