phasync
phasync / isRunning

Method

phasync::isRunning

Returns true while a phasync::run is in progress, and false otherwise.

Description#

public static phasync::isRunning(): bool

Return values#

bool

Examples#

Example 1
var_dump(phasync::isRunning());   // false
phasync::run(fn () => var_dump(phasync::isRunning()));   // true

See also#