TimerAfter

TimerAfter — attaches an event handler to an "after" timer.

Syntax

TimerAfter (seconds, fn)
    

Arguments

seconds

A number of seconds

fn

A function or method call.

Returns

An integer that is a timer ID number.

Description

This method sets an after timer that fires after the number of seconds specified, causing the fn function or method to execute. This method also creates a unique, sequential ID number for the timer, appends that number to the class's ._TimerIDs list, and returns that same timer ID number.