(v?: boolean)
| 199 | public reconnection(): boolean; |
| 200 | public reconnection(v?: boolean): this | boolean; |
| 201 | public reconnection(v?: boolean): this | boolean { |
| 202 | if (!arguments.length) return this._reconnection; |
| 203 | this._reconnection = !!v; |
| 204 | if (!v) { |
| 205 | this.skipReconnect = true; |
| 206 | } |
| 207 | return this; |
| 208 | } |
| 209 | |
| 210 | /** |
| 211 | * Sets the reconnection attempts config. |
no outgoing calls
no test coverage detected