Skip to content

0-7_EL.getLoader()

The current method of retrieving the loader just isn't working. Consider injecting the LOADER as a parameter rather than searching for it.

  • There should be a single, globally accessible LOADER MAIN.getLoader() ==> EL.getLoader()
  • Implement a 'load' event that triggers the loader instead of having to call the loader directly ie: getMain().load(message)
  • Depends on Singly Linked List
  • Consider making getMain() and getLoader static
  • Consider having a loading queue that exists in the loader. This could be accessed and controlled and optimized and tied into the Event loop
Edited by Ryan Dunphy