You are here

public function Nodejs::sendMessages in Node.js integration 8

File

src/Nodejs.php, line 72

Class

Nodejs

Namespace

Drupal\nodejs

Code

public function sendMessages() {
  foreach ($this->queuedMessages as $message) {
    $this
      ->sendMessage($message);
  }
  $this->queuedMessages = [];
}