SessionConfiguration.hook¶
- SessionConfiguration.hook(section, option, toCall)¶
Assign a function to be called the next time the value of the specified section/option combination is changed. The provided function (parameter toCall) may only take one argument: the new value of the option. This function is called directly after the successful set call.
None is a sentinal value that may be assigned as a hook. It disallows hooking on for this section option combination for the remainder of the session.