(ctx context.Context, numLocal, numSlaves int, timeout time.Duration)
| 297 | } |
| 298 | |
| 299 | func (c cmdable) WaitAOF(ctx context.Context, numLocal, numSlaves int, timeout time.Duration) *IntCmd { |
| 300 | cmd := NewIntCmd(ctx, "waitAOF", numLocal, numSlaves, int(timeout/time.Millisecond)) |
| 301 | cmd.setReadTimeout(timeout) |
| 302 | _ = c(ctx, cmd) |
| 303 | return cmd |
| 304 | } |
| 305 | |
| 306 | func (c statefulCmdable) Select(ctx context.Context, index int) *StatusCmd { |
| 307 | cmd := NewStatusCmd(ctx, "select", index) |
no test coverage detected