How to queue actions?

Hello,

Is it possible to queue stuff for processing later which can be picked by the server?

Here’s an example flow:

  1. Players fight vs each other.
  2. Match ends, now I want to increase their level, check their quest completion etc.
  3. So I add it to a queue which can be processed by the server when possible.

This helps me not delay the response after the match ends as well as prevents processing of all heavy actions at once.

Regards

Update: I learnt about Events but it seems to be Go only. I guess I’ll just emit an event after a match and then process the required data.