How to pass data from controller to preLoaded file


#1

Hello , lets say I preloaded file and I have a variable called currentUsers inside of it.

I created WS controller . I want to push data into currentUsers variable from my WS controller. I have some game logic in my preloaded file , so i need to keep it separate.

is it possible with adonis?

sorry for my english , have a nice day