Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Suspension.php

function Suspension::suspend

Returns the value provided to {

Return value

T

See also

resume()} or throws the exception provided to {@see throw()}.

1 method overrides Suspension::suspend()
DriverSuspension::suspend in vendor/revolt/event-loop/src/EventLoop/Internal/DriverSuspension.php
Returns the value provided to {

File

vendor/revolt/event-loop/src/EventLoop/Suspension.php, line 37

Class

Suspension
Should be used to run and suspend the event loop instead of directly interacting with fibers.

Namespace

Revolt\EventLoop

Code

public function suspend() : mixed;
RSS feed
Powered by Drupal