mirror of
https://github.com/vale981/Vulcan
synced 2025-03-12 21:36:38 -04:00
7 lines
219 B
JavaScript
7 lines
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();
|
||
|
};
|