ably-java icon indicating copy to clipboard operation
ably-java copied to clipboard

Document that listeners should not block in message or channel/connectionstate listeners

Open paddybyers opened this issue 6 years ago • 1 comments
trafficstars

Listeners are called by specific threads in the library - eg the ConnectionManager thread or the WSClient reader thread - and these can't be blocked. The documentation should make this clear.

┆Issue is synchronized with this Jira Task by Unito

paddybyers avatar Jun 10 '19 11:06 paddybyers

Ideally, this would be explained in both online documentation and the Javadoc on the subscribe method.

cesartl avatar Jun 12 '19 08:06 cesartl