Closed vedtam closed 2 months ago
Hello there vedtam 👋
Thank you for opening your very first issue in this project.
We will try to get back to you as soon as we can.👀
Does that mean that each request uses a new instance of the controller?
Yes. If you want to hook into this, you can provide your own iocModule, then you can return the same class instance every time.
Hi Guys,
Despite me reusing the same service instance, variables set within the service instance are gone whenever I try getting
getCrawlStatus
. Does that mean that each request uses a new instance of the controller?If I create a global variable in the service, above the class, the data is persisted.
Thanks!