add-startup-hook ( quot name -- )
Factor handbook » The implementation » Initialization and startup

Prev:do-startup-hooks ( -- )
Next:add-shutdown-hook ( quot name -- )


Vocabulary
init

Inputs
quota quotation
namea string


Outputs
None

Word description
Registers a startup hook. The hook will always run when Factor is started. If the hook was not already defined, this word also calls it immediately.

See also
startup-hooks, do-startup-hooks, add-shutdown-hook, do-shutdown-hooks, shutdown-hooks

Definition