Initialization and startup - Factor Documentation (original) (raw)
When Factor starts, the first thing it does is call a word: boot ( -- )
Next, initialization hooks are called:
Initialization hooks can be defined:
add-startup-hook ( quot name -- )
Corresponding shutdown hooks may also be defined:
add-shutdown-hook ( quot name -- )
The boot quotation can be changed: