mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-07 16:23:09 +00:00
fix start
This commit is contained in:
parent
e39c6c94bf
commit
974fb21f0b
@ -37,6 +37,10 @@ export class Sender {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public start(): void {
|
public start(): void {
|
||||||
|
if (this.sendInterval) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
this.sendInterval = setInterval(
|
this.sendInterval = setInterval(
|
||||||
() => void this.backgroundSend(),
|
() => void this.backgroundSend(),
|
||||||
DEFAULT_SEND_INTERVAL
|
DEFAULT_SEND_INTERVAL
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user