yea i could, but im using events because, i want the thing to execute only when something is ready (something like that), so ill fire the event when the thing is basically ready to use.
the example which i have given in the code is basic, my main use case is bit too big, so yea
yea i could do that, but lets say my situation is kinda like, i have the important functions in a seperate file and wanted to use when something is ready
i could do export the function and import it when i need it, but basically i dont want to import and export things, thats why i choose events in the first place
isnt that basically a type of event system ?