summaryrefslogtreecommitdiffstats
path: root/lib/public/command/ibus.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/command/ibus.php')
-rw-r--r--lib/public/command/ibus.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/public/command/ibus.php b/lib/public/command/ibus.php
index 707f8fd072d..bbb89ee04e6 100644
--- a/lib/public/command/ibus.php
+++ b/lib/public/command/ibus.php
@@ -15,4 +15,11 @@ interface IBus {
* @param \OCP\Command\ICommand | callable $command
*/
public function push($command);
+
+ /**
+ * Require all commands using a trait to be run synchronous
+ *
+ * @param string $trait
+ */
+ public function requireSync($trait);
}