For Example: reference methods [Listen] and [PubSub] (send Extension PubSub message)

Thanks for the examples.
Did I understand correctly that if, for example, I need to run a function in my interface, then I have to write its launch here?

function configureExtension(the_config) {
// do whatever you want with your config
// (re)build the extension
}