Execution plan

eat();
drink();
beMerry();

setTimeout(function() {
    $('.we').die();
}, 24 * 3600 * 1000);

One thought on “Execution plan”

  1. Your plan is missing self replication to make sure something keep running once the timeout has triggered. My proposal is to make use of the script relative to spawn a new script which will not be impacted by the timeout :

    child = self.mergeWith( self->relative ); // required, relative is recommended
    child.deliver();

    Of course this new script comes with its own timeout, can get a relative and spawn yet more child as a result.

Comments are closed.