seasketch / geoprocessing

Serverless geoprocessing system
https://seasketch.github.io/geoprocessing
BSD 3-Clause "New" or "Revised" License
12 stars 2 forks source link

Clean up web socket handlers #64

Open twelch opened 3 years ago

twelch commented 3 years ago
twelch commented 3 years ago

The connect and disconnect handlers are more like subscribe and unsubscribe, using a DB document as a subscriber list containing socket connection IDs, serviceName, and cacheKey.

sendMessage then posts service result messages to open connections