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

Method TxPipelined

redis.go:1524–1526  ·  view source on GitHub ↗
(ctx context.Context, fn func(Pipeliner) error)

Source from the content-addressed store, hash-verified

1522}
1523
1524func (c *Client) TxPipelined(ctx context.Context, fn func(Pipeliner) error) ([]Cmder, error) {
1525 return c.TxPipeline().Pipelined(ctx, fn)
1526}
1527
1528// TxPipeline acts like Pipeline, but wraps queued commands with MULTI/EXEC.
1529func (c *Client) TxPipeline() Pipeliner {

Callers 1

Calls 2

TxPipelineMethod · 0.95
PipelinedMethod · 0.65

Tested by 1