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

Breadcrumb

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

function Suspension::throw

Throws the given exception from the call to {

See also

suspend()}.

1 method overrides Suspension::throw()
DriverSuspension::throw in vendor/revolt/event-loop/src/EventLoop/Internal/DriverSuspension.php
Throws the given exception from the call to {

File

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

Class

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

Namespace

Revolt\EventLoop

Code

public function throw(\Throwable $throwable) : void;
RSS feed
Powered by Drupal