(client: Client)
| 220 | * @returns The log buffer for the given client. |
| 221 | */ |
| 222 | export function _INTERNAL_getLogBuffer(client: Client): Array<SerializedLog> | undefined { |
| 223 | return _getBufferMap().get(client); |
| 224 | } |
| 225 | |
| 226 | function _getBufferMap(): WeakMap<Client, Array<SerializedLog>> { |
| 227 | // The reference to the Client <> LogBuffer map is stored on the carrier to ensure it's always the same |
no test coverage detected