mirror of
https://github.com/vale981/Vulcan
synced 2025-03-12 13:36:37 -04:00
7 lines
No EOL
219 B
JavaScript
7 lines
No EOL
219 B
JavaScript
import { initFunctions } from '../modules/index.js';
|
|
|
|
export const addInitFunction = fn => {
|
|
initFunctions.push(fn); // on server, this does nothing
|
|
// on server, execute init function as soon as possible
|
|
fn();
|
|
}; |