Wait out the messages the application holds before shutting a session down

This commit is contained in:
2026-09-01 13:58:28 +02:00
parent a99e1227ac
commit 3bcea108e3
12 changed files with 263 additions and 79 deletions
+11
View File
@@ -1,3 +1,14 @@
/** The 8-bit reference tying a long SMS's segments together, counted per session. */
export class ConcatReference {
private current = 0;
next(): number {
this.current = this.current >= 255 ? 1 : this.current + 1;
return this.current;
}
}
export type ConcatInfo = {
part: number;
reference: number;