mirror of
https://github.com/waku-org/js-waku.git
synced 2025-02-05 00:55:30 +00:00
commit
0263a38e04
@ -37,6 +37,8 @@ export class RelayHeartbeat extends Heartbeat {
|
||||
this._heartbeatTimer = {
|
||||
_intervalId: undefined,
|
||||
runPeriodically: (fn, period): void => {
|
||||
// this._heartbeatTimer cannot be null, it is being assigned.
|
||||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
||||
this._heartbeatTimer!._intervalId = setInterval(fn, period);
|
||||
},
|
||||
cancel: (): void => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user