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

Method TxPipelined

osscluster.go:1831–1833  ·  view source on GitHub ↗
(ctx context.Context, fn func(Pipeliner) error)

Source from the content-addressed store, hash-verified

1829}
1830
1831func (c *ClusterClient) TxPipelined(ctx context.Context, fn func(Pipeliner) error) ([]Cmder, error) {
1832 return c.TxPipeline().Pipelined(ctx, fn)
1833}
1834
1835func (c *ClusterClient) processTxPipeline(ctx context.Context, cmds []Cmder) error {
1836 // Only call time.Now() if pipeline operation duration callback is set to avoid overhead

Callers

nothing calls this directly

Calls 2

TxPipelineMethod · 0.95
PipelinedMethod · 0.65

Tested by

no test coverage detected