Application Framework Reference

Module API

requiresAsynchronousLoading()

The requiresAsynchronousLoading() method indicates whether or not the module hierarchy must be complete before loading the current module. If the module can be loaded asynchronously, the module must make sure the corresponding moduleLoadStatusChange event is fired after loading.

Subclass this module to change the behavior to depend on your specific configuration.

Synopsis

asyncLoad = requiresAsynchronousLoading()

Return Value

Boolean

Asynchronous loading required indication:

True = This module does not depend on the module hierarchy to be complete.

False = (Default) This module depends on the module hierarchy to be complete.; WAITING_FOR_HIERARCHY

Example

   requiresAsynchronousLoading: function() {return true;},
 

See Also

requiresDispatch()
Splunk.util.moduleLoadStates