How can i configure a real-time library to run only in background, without any user request? #1303
-
Hello guys, How can i configure a real-time library to run only in background, without any user request? Example: I need to use this lib: https://github.com/pedroslopez/whatsapp-web.js with AdonisJS 4.1 If i create an empty nodejs project without framework, it's fine 'cause does not have a lot of MVC stuffs on it... but with AdonisJS, there are some settings rules i need to follow and i don't know how to do that. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Not really sure, how this library works, but it looks like you could start it up at provider boot time |
Beta Was this translation helpful? Give feedback.
Not really sure, how this library works, but it looks like you could start it up at provider boot time
https://adonisjs.com/docs/4.1/service-providers