What is an onconfigure handler?
An onconfigure handler is a special kind of instance method that’s called whenever the related option is given a new value via the configure or configurelist instance methods. The handler can validate the new value, pass it to some other object, and anything else you’d like it to do. An onconfigure handler is defined by an onconfigure statement in the type definition.