Loose explanation with links to ApexCharts module code:
-
In your client code, you need to create and register a
ComponentStoreDelegate. -
This
ComponentStoreDelegatelets you fire events that will be received on yourComponentModelDelegaterunning on the gateway. -
You can also send events the other direction too; you can fire events from your gateway
ComponentModelDelegatethat are handled by the client.