RequestTimeout
Request timeout library for Excimer with plain PHP fallback
Loading...
Searching...
No Matches
Wikimedia\RequestTimeout\Detail\CriticalSection Class Reference

Internal class for tracking critical sections. More...

Public Member Functions

 __construct ( $name, $emergencyLimit, $emergencyCallback)
 
 stop ()
 Stop the emergency timer, if it was started.
 

Detailed Description

Internal class for tracking critical sections.

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\RequestTimeout\Detail\CriticalSection::__construct ( $name,
$emergencyLimit,
$emergencyCallback )
See also
RequestTimeout::createCriticalSectionProvider
Parameters
string$name
float$emergencyLimit
callable | null$emergencyCallback
Returns
never

The documentation for this class was generated from the following file: