AsyncBus

class OC\Command\AsyncBus
Asynchronous command bus that uses the background job system as backend
Source:lib/private/Command/AsyncBus.php#31
Implements:OCP\Command\IBus

Properties

Methods

public OC\Command\AsyncBus::push($command)
Schedule a command to be fired
Source:lib/private/Command/AsyncBus.php#44
Parameters:
protected abstract OC\Command\AsyncBus::queueCommand($command)
Queue a command in the bus
Source:lib/private/Command/AsyncBus.php#57
Parameters:
public OC\Command\AsyncBus::requireSync($trait)
Require all commands using a trait to be run synchronous
Source:

lib/private/Command/AsyncBus.php#64

Parameters:
  • $trait (string)