You are here

protected function BigPipe::performPostSendTasks in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/big_pipe/src/Render/BigPipe.php \Drupal\big_pipe\Render\BigPipe::performPostSendTasks()

Performs tasks after sending content (and rendering placeholders).

1 call to BigPipe::performPostSendTasks()
BigPipe::sendContent in core/modules/big_pipe/src/Render/BigPipe.php
Sends an HTML response in chunks using the BigPipe technique.

File

core/modules/big_pipe/src/Render/BigPipe.php, line 246

Class

BigPipe
Service for sending an HTML response in chunks (to get faster page loads).

Namespace

Drupal\big_pipe\Render

Code

protected function performPostSendTasks() {

  // Close the session again.
  $this->session
    ->save();
}