refactor(remote): drop unrelated churn from the metadata change

This commit is contained in:
imccyu committed 2026-10-13 00:52:58 +08:00
1 parent 570520862d
commit d5bf4b348a
8 files changed
+15 -16

No files matched your search

@@ -119,6 +119,9 @@ export function createSessionControlStream(
const stream = remote.$stream<SessionControlFrame>({
name: 'session control stream',
open: signal => remote.session.control(signal),
ended: accepted => accepted
? new RemoteStreamCarrierError('session control stream ended without a terminal result')
: new Error('session control stream ended before its opening snapshot'),
...(options.carrierFailed === undefined ? {} : { carrierFailed: options.carrierFailed }),
})
return new RemoteSnapshotStream(stream, {