add emitOwnEvents

This commit is contained in:
Adhiraj Singh
2021-10-01 13:46:19 +05:30
parent b3c1063a3f
commit e84002d807
4 changed files with 13 additions and 5 deletions

View File

@@ -43,6 +43,8 @@ export type SocketConfig = {
fetchAgent?: Agent
/** should the QR be printed in the terminal */
printQRInTerminal: boolean
/** should events be emitted for actions done by this socket connection */
emitOwnEvents: boolean
}
export enum DisconnectReason {