diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-02-23 15:25:59 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-02-25 15:09:41 +0100 |
commit | 8213f8d67d5a73b43b871d305e911e22b4144f79 (patch) | |
tree | c7d149e8cd216cf5660074840dd648c3beab94f9 /lib/public/command | |
parent | be930e338d6ea2be40889e8c76b31167b3599540 (diff) | |
download | nextcloud-server-8213f8d67d5a73b43b871d305e911e22b4144f79.tar.gz nextcloud-server-8213f8d67d5a73b43b871d305e911e22b4144f79.zip |
Allow apps to determine which commands should be run synchronous based on traints
Diffstat (limited to 'lib/public/command')
-rw-r--r-- | lib/public/command/ibus.php | 7 |
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); } |