add input event observer and hook the value setter

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent ad2ac811a3
commit c96052d8a4
4 changed files with 139 additions and 4 deletions

View File

@@ -92,6 +92,16 @@ function record(options: recordOptions) {
},
}),
),
inputCb: v =>
emit(
wrapEvent({
type: EventType.IncrementalSnapshot,
data: {
source: IncrementalSource.Input,
...v,
},
}),
),
});
});
} catch (error) {