coalesce icon indicating copy to clipboard operation
coalesce copied to clipboard

Module API: Add socket disconnect event map

Open amark opened this issue 13 years ago • 0 comments

onmessage events automagically work with coalesce.

however there is nothing that allows a module to be notified when a socket gets disconnected.

please add a module API config property that allows one to map a disconnect event to a sub function of the exported module, in the same way the HTTP intercept option works.

amark avatar Nov 23 '12 14:11 amark