You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Plan and implement framework for daily tasks registration #633
One of the possible solution could be to use events with interceptor.
Here is an example with "create a playlist for the clan" task (=change clan jukebox data)
Whenever a request for changing the jukebox is done, there can be an interceptor, which gets the logged-in user info + request body.
If the response was successful, the interceptor is registering (=firing) an event. As well as providing the request, logged-in user and response as a payload.
Event handler method responsible for processing the "create a playlist for the clan" task, receives the payload.
Event handler method checks whenever the user has this task and if he has, mark it as complete
Activity
MikhailDeriabin commentedon Aug 21, 2025
One of the possible solution could be to use events with interceptor.
Here is an example with "create a playlist for the clan" task (=change clan jukebox data)