mirror of
https://github.com/coalaura/whiskr.git
synced 2025-12-02 20:22:52 +00:00
alive chunk
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
5: "tool",
|
||||
6: "error",
|
||||
7: "end",
|
||||
8: "alive",
|
||||
};
|
||||
|
||||
const $version = document.getElementById("version"),
|
||||
@@ -1094,6 +1095,10 @@
|
||||
|
||||
buffer = buffer.slice(5 + length);
|
||||
|
||||
if (type === "alive") {
|
||||
continue; // we are still alive
|
||||
}
|
||||
|
||||
callback({
|
||||
type: type,
|
||||
data: data,
|
||||
|
||||
Reference in New Issue
Block a user