We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2267f4f commit efbb26fCopy full SHA for efbb26f
src/FolderInterface.php
@@ -42,12 +42,12 @@ public function is(FolderInterface $folder): bool;
42
public function messages(): MessageQueryInterface;
43
44
/**
45
- * Begin idling on the current folder.
+ * Begin idling on the current folder for the given timeout in seconds.
46
*/
47
public function idle(callable $callback, ?callable $query = null, callable|int $timeout = 300): void;
48
49
50
- * Begin polling for new messages at a given frequency.
+ * Begin polling for new messages at the given frequency in seconds.
51
52
public function poll(callable $callback, ?callable $query = null, callable|int $frequency = 60): void;
53
0 commit comments