PHP Class Prose\TimedAction

Longer term, we probably need to move into running the actions in a subprocess of some kind, to make this much more robust than it is
Show file Open project: datasift/storyplayer

Public Properties

Property Type Description
$terminate

Protected Properties

Property Type Description
$action
$cleanupAction
$duration
$st

Public Methods

Method Description
__construct ( StoryTeller $st, $action, $cleanupAction = null )
forExactly ( $duration )
getDuration ( )
handleSigAlarm ( )

Method Details

__construct() public method

public __construct ( StoryTeller $st, $action, $cleanupAction = null )
$st DataSift\Storyplayer\PlayerLib\StoryTeller

forExactly() public method

public forExactly ( $duration )

getDuration() public method

public getDuration ( )

handleSigAlarm() public method

public handleSigAlarm ( )

Property Details

$action protected property

protected $action

$cleanupAction protected property

protected $cleanupAction

$duration protected property

protected $duration

$st protected property

protected $st

$terminate public property

public $terminate