pas
Public Member Functions | Public Attributes | List of all members
pas\Loop Class Reference

Public Member Functions

 __construct (callable $function, float $interval_seconds, bool $start_immediately)
 

Public Attributes

 $function
 
 $interval_seconds
 
 $next_run
 

Constructor & Destructor Documentation

◆ __construct()

pas\Loop::__construct ( callable  $function,
float  $interval_seconds,
bool  $start_immediately 
)
Parameters
callable$function
float$interval_seconds
bool$start_immediately
See also
pas::add()
Condition::add()

Member Data Documentation

◆ $function

pas\Loop::$function

◆ $interval_seconds

pas\Loop::$interval_seconds

◆ $next_run

pas\Loop::$next_run