extensions/felixfbecker.php-intellisense-0.0.12/vendor/felixfbecker/language-server/src/utils.php
/**
 * Throws an exception on the next tick.
 * Useful for letting a promise crash the process on rejection.
 *
 * @param Throwable $err
 * @return void
 */
Throws an exception on the next tick.
Useful for letting a promise crash the process on rejection.

@param Throwable $err
@return void
Throws an exception on the next tick . Useful for letting a promise crash the process on rejection . @param Throwable $err @return void
function crash(Throwable $err)
{
    Loop\nextTick(function () use ($err) {
        throw $err;
    });
}
function crash ( Throwable $ err ) { Loop \ nextTick ( function ( ) use ( $ err ) { throw $ err ; } ) ; }
Throws an exception on the next tick.
Throws an exception on the next tick .