I’m writing a custom component that communicates with a server.
As part of this I want to be able to send a warming signal to the server so it can be made ready for incoming requests to improve responsiveness.
When the user first puts the component on the canvas I can add my warming signal into the AddedToDocument()
method.
How do I send my warming signal when the component is loaded from disk? It’s ‘fire and forget’ so has no need to interact with the solution.