Discard discards all commands in the pipeline buffer that have not yet been executed.
()
| 38 | |
| 39 | // Discard discards all commands in the pipeline buffer that have not yet been executed. |
| 40 | Discard() |
| 41 | |
| 42 | // Exec sends all the commands buffered in the pipeline to the redis server. |
| 43 | Exec(ctx context.Context) ([]Cmder, error) |
no outgoing calls