fix formatting

This commit is contained in:
terminal
2022-09-06 12:19:06 +03:00
parent 0f62f1a000
commit a92b156e8f

View File

@@ -165,7 +165,8 @@ open class WsConnection(
reconnecting.set(false)
connectInternal()
},
retryInterval, TimeUnit.MILLISECONDS
retryInterval,
TimeUnit.MILLISECONDS
)
}
@@ -298,7 +299,10 @@ open class WsConnection(
fun onRpc(msg: ResponseWSParser.WsResponse): Mono<Void> {
return if (msg.id.isNumber()) {
val resp = JsonRpcResponse(
msg.value, msg.error, msg.id, null
msg.value,
msg.error,
msg.id,
null
)
Mono.fromCallable {
val status = rpcReceive.tryEmitNext(resp)