GoLang EvPeriodic::at

request it (134)
GoLang replacement for PHP's EvPeriodic::at [edit | history]



Do you know a GoLang replacement for PHP's EvPeriodic::at? Write it!

PHP EvPeriodic::at

PHP original manual for EvPeriodic::at [ show | php.net ]

EvPeriodic::at

(PECL ev >= 0.2.0)

EvPeriodic::atReturns the absolute time that this watcher is supposed to trigger next

Description

public float EvPeriodic::at ( void )

When the watcher is active, returns the absolute time that this watcher is supposed to trigger next. This is not the same as the offset argument to EvPeriodic::set() or EvPeriodic::__construct() , but indeed works even in interval mode.

Parameters

This function has no parameters.

Return Values

Returns the absolute time this watcher is supposed to trigger next in seconds.