(end: boolean = false)
| 379 | * Defaults to `false`. |
| 380 | */ |
| 381 | export function captureSession(end: boolean = false): void { |
| 382 | // both send the update and pull the session from the scope |
| 383 | if (end) { |
| 384 | endSession(); |
| 385 | return; |
| 386 | } |
| 387 | |
| 388 | // only send the update |
| 389 | _sendSessionUpdate(); |
| 390 | } |
nothing calls this directly
no test coverage detected