(ref: DesktopSessionRef)
| 13 | export interface DesktopTargetSessionRef extends DesktopSessionRef, DesktopTargetScope {} |
| 14 | |
| 15 | export function desktopSessionKey(ref: DesktopSessionRef): string { |
| 16 | return JSON.stringify([ref.hostId, ref.sessionId]); |
| 17 | } |
| 18 | |
| 19 | export function parseDesktopSessionKey(value: string): DesktopSessionRef { |
| 20 | const parsed: unknown = JSON.parse(value); |
no outgoing calls
no test coverage detected