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

Method TxPipelined

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

Source from the content-addressed store, hash-verified

1691}
1692
1693func (c *Conn) TxPipelined(ctx context.Context, fn func(Pipeliner) error) ([]Cmder, error) {
1694 return c.TxPipeline().Pipelined(ctx, fn)
1695}
1696
1697// TxPipeline acts like Pipeline, but wraps queued commands with MULTI/EXEC.
1698func (c *Conn) TxPipeline() Pipeliner {

Callers

nothing calls this directly

Calls 2

TxPipelineMethod · 0.95
PipelinedMethod · 0.65

Tested by

no test coverage detected