You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on(event: 'heartbeat', listener: (lsn: string, timestamp: number, shouldRespond: boolean) => Promise<void> | void)
A heartbeat check signal has been received from the server. You may need to run service.acknowledge().
Do I need to handle this event?
Other than shouldRespond, when should I acknowledge or not?
What happens if I don't acknowledge a heartbeat?
The text was updated successfully, but these errors were encountered:
Just spent several hours tracking down why I was getting connection terminated unexpectedly, and this manual acknowledge in the heartbeat handler wound up being the fix. The acknowledge options in service instantiation appear to be meaningless, and this is basically undocumented, would be great if this was in the basic setup docs if it's intentionally required and not a bug.
the readme says
Do I need to handle this event?
Other than shouldRespond, when should I acknowledge or not?
What happens if I don't acknowledge a heartbeat?
The text was updated successfully, but these errors were encountered: