The goog.module.ModuleLoadCallback Class

goog.module.ModuleLoadCallback(fn, opt_handler)

Class used to encapsulate the callbacks to be called when a module loads.

fn {Function}
Callback function.
opt_handler {Object=}
Optional handler under whose scope to execute the callback.

.abort()

Abort the callback, but not the actual module load.

.execute(context)

Completes the operation and calls the callback function if appropriate.

context {*}
The module context.