mainAtExit object | _main.t[1220]

At-exit handlers. This is a registry for custom handlers that are to be invoked just before the program terminates.

`transient mainAtExit : object`

Superclass Tree (in declaration order)

`mainAtExit`
`object`

Summary of Properties

`handlers`

Summary of Methods

`addHandler callHandlers`

Properties

`handlers` | `_main.t[1250]`

list of exit handlers

Methods

`addHandler (func)` | `_main.t[1225]`

Add an at-exit handler. User code can call this to register a handler that will be invoked just before the program exits.

`callHandlers ( )` | `_main.t[1231]`

call our exit handlers

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3