rsocket / rsocket-js

JavaScript implementation of RSocket

Home Page:https://github.com/rsocket/rsocket-js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`KeepAliveSender`/`KeepAliveHandler` do not run interval/timeout check

viglucci opened this issue · comments

Expected Behavior

KeepAliveSender should send a KeepAlive frame on the configured interval.
KeepAliveHandler should check for KeepAlive frames on the configured interval.

Actual Behavior

Invoking KeepAliveSender.start() does not schedule the KeepAlive frames to be sent.
Invoking KeepAliveHandler.start() does not schedule a check for missing KeepAlive frames.

Steps to Reproduce

const sender = new KeepAliveSender(outbound, keepAlivePeriod);
sender.start();

Your Environment

  • RSocket version(s) used: dev

Fixed by #190