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 43768d6 commit e60e41aCopy full SHA for e60e41a
1 file changed
src/CallInvokerInterface.php
@@ -2,6 +2,8 @@
2
3
namespace React\Filesystem;
4
5
+use React\Promise\PromiseInterface;
6
+
7
interface CallInvokerInterface
8
{
9
/**
@@ -10,14 +12,20 @@ interface CallInvokerInterface
10
12
public function __construct(AdapterInterface $adapter);
11
13
14
15
+ * Call the given $function with the given $args,
16
+ * when appropriate for the concrete invoker.
17
+ *
18
* @param string $function
19
* @param array $args
20
* @param int $errorResultCode
- * @return \React\Promise\ExtendedPromiseInterface
21
+ * @return PromiseInterface
22
*/
23
public function invokeCall($function, $args, $errorResultCode = -1);
24
25
26
+ * Return true when no calls are waiting to be called,
27
+ * otherwise return false.
28
29
* @return bool
30
31
public function isEmpty();
0 commit comments