js-waku/packages/interfaces/src/keep_alive_manager.ts
Danish Arora 0b8936f1f1
feat: ConnectionManager extends EventEmitter & exposed on the Waku interface (& minor improvements) (#1447)
* move KeepAliveOptions to dedicated interface file

* update export for KeepAlive

* expose `ConnectionManager` on the waku node

* update ConnectionManager test to use the exposed API

* rm: only for the test
2023-07-31 13:54:39 +05:30

5 lines
89 B
TypeScript

export interface KeepAliveOptions {
pingKeepAlive: number;
relayKeepAlive: number;
}