gramjs icon indicating copy to clipboard operation
gramjs copied to clipboard

[Question] Sending signals to the running client

Open vanodevium opened this issue 1 year ago • 0 comments

I have an already running client that listens to a special channel, reads each new message in it and looks for errors from the list in the text (this is server log monitoring). The list of errors is an array in the code.

But periodically this list should be changed.

So, the question is whether there are any best practices for sending signals to an already active client to, for example, update the list. Preferably, without restarting the client itself.

I will be grateful for any answer.

vanodevium avatar Feb 02 '24 09:02 vanodevium