【Customization Hooks】
目前支持两种类型的模块自定义钩子:
【There are two types of module customization hooks that are currently supported:】
module.register(specifier[,父级网址][, options]) 接收一个导出异步钩子函数的模块。这些函数将在一个单独的加载线程上运行。
module.registerHooks(options) 接受同步钩子函数,这些函数会在模块加载的线程上直接运行。