File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -1687,6 +1687,17 @@ public function bgsave( ) {}
16871687 */
16881688 public function lastSave ( ) {}
16891689
1690+ /**
1691+ * Blocks the current client until all the previous write commands are successfully transferred and
1692+ * acknowledged by at least the specified number of slaves.
1693+ * @param int $numSlaves Number of slaves that need to acknowledge previous write commands.
1694+ * @param int $timeout Timeout in milliseconds.
1695+ * @return int The command returns the number of slaves reached by all the writes performed in the
1696+ * context of the current connection.
1697+ * @link http://redis.io/commands/wait
1698+ * @example $redis->wait(2, 1000);
1699+ */
1700+ public function wait ( $ numSlaves , $ timeout ) {}
16901701
16911702 /**
16921703 * Returns the type of data pointed by a given key.
You can’t perform that action at this time.
0 commit comments