Add Target.onwrite callback

This commit is contained in:
Vanilagy
2025-09-02 17:34:09 +02:00
parent 55dd8cdb4c
commit 9d47b3c5dc
4 changed files with 32 additions and 5 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ export abstract class Source {
return result;
}
/** Called each time data is retrieved from the source. Will be called with the retrieved range. */
/** Called each time data is retrieved from the source. Will be called with the retrieved range (end exclusive). */
onread: ((start: number, end: number) => unknown) | null = null;
}