hook

fun hook(hookName: String, configuration: ScriptContext.() -> Unit)

Defines a new hook with an arbitrary name.