add defaultSafelyExceptionHandler and SafelyExceptionHandler

This commit is contained in:
InsanusMokrassar committed 2020-12-22 15:16:06 +06:00
1 parent a15cbdfb1a
commit 069e51f2ff
3 files changed
+35 -7

No files matched your search

@@ -25,7 +25,7 @@ inline fun <T> HttpClient.createStandardWebsocketFlow(
val producerScope = this@channelFlow
do {
val reconnect = try {
safely ({ throw it }) {
safely {
ws(correctedUrl) {
for (received in incoming) {
when (received) {