EventSource
Event Source
is currently available through the generators (channels):
Languages | client | server |
---|---|---|
TypeScript | ✔️ | ✔️ |
All of this is available through AsyncAPI.
Client
The client generated code is to listen for events from the server and act accordingly.
Server
The server generated code is to listen for clients making the connection and being ready to receive events.
Channels
Read more about the channels generator here before continuing.
This generator provides support functions for each resource ensuring you the right payload and parameter are used.
Input (AsyncAPI) | Using the code |
---|---|
|
|