export function registerApplication(loadFunction) { if (typeof loadFunction !== "function") { loadFunction = () => Promise.resolve(loadFunction); } }