A scheduler for the keep-alive timer, matching the shape of the global timer functions.
Injected through the internal entry point so a unit test can drive the keep-alive interval with
a fake clock and assert a PINGREQ on the wire without waiting real time. Defaults to
globalThis.setInterval / clearInterval.
A scheduler for the keep-alive timer, matching the shape of the global timer functions.
Injected through the internal entry point so a unit test can drive the keep-alive interval with a fake clock and assert a PINGREQ on the wire without waiting real time. Defaults to
globalThis.setInterval/clearInterval.Since
1.0.0