I want to ask if i can archive this using durable objects: The durable object should initiate a web

I want to ask if i can archive this using durable objects:

The durable object should initiate a websocket connection to another server (discord gateway api) and react tose events. There are no connections from clients involved only server side processing.

Also i wonder how many instances of this would be running and how its initial connection can be triggered?
Was this page helpful?