* Namespace constructor. * * @param server instance * @param name
(
server: Server<ListenEvents, EmitEvents, ServerSideEvents, SocketData>,
name: string,
)
| 178 | * @param name |
| 179 | */ |
| 180 | constructor( |
| 181 | server: Server<ListenEvents, EmitEvents, ServerSideEvents, SocketData>, |
| 182 | name: string, |
| 183 | ) { |
| 184 | super(); |
| 185 | this.server = server; |
| 186 | this.name = name; |
| 187 | this._initAdapter(); |
| 188 | } |
| 189 | |
| 190 | /** |
| 191 | * Initializes the `Adapter` for this nsp. |
nothing calls this directly
no test coverage detected