async-tasks.js 801 B

123456789101112131415161718192021222324252627282930313233343536
  1. var async = require("./async");
  2. module.exports = [
  3. {
  4. step: "Setting default plugins",
  5. fn: async.initDefaultHooks
  6. },
  7. {
  8. step: "Finding a free port",
  9. fn: async.findAFreePort
  10. },
  11. {
  12. step: "Setting options also relevant to UI from BS",
  13. fn: async.setBsOptions
  14. },
  15. {
  16. step: "Setting available URLS for UI",
  17. fn: async.setUrlOptions
  18. },
  19. {
  20. step: "Starting the Control Panel Server",
  21. fn: async.startServer
  22. },
  23. {
  24. step: "Add element events",
  25. fn: async.addElementEvents
  26. },
  27. {
  28. step: "Registering default plugins",
  29. fn: async.registerPlugins
  30. },
  31. {
  32. step: "Add options setting event",
  33. fn: async.addOptionsEvent
  34. }
  35. ];