You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/backend/index.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ import linkFiber from './routers/linkFiber';
10
10
// timeJumpInitialization (actually uses the function timeJumpInitiation but is labeled here as linkFiberInitialization, returns a function) returns a function that sets jumping to false and handles timetravel feature
Copy file name to clipboardExpand all lines: src/backend/routers/snapShot.ts
+3-6Lines changed: 3 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,10 @@ import { getLastUserEvent } from '../controllers/userEventCapture';
6
6
7
7
// -------------------------UPDATE & SEND TREE SNAP SHOT------------------------
8
8
/**
9
-
* This function creates a new `snapShot` fiber tree with the provided `fiberRoot`, then send the updated snapshot to front end.
10
-
* This runs after every Fiber commit if mode is not jumping.
11
-
* This
12
-
* @param snapshot The current snapshot of the fiber tree
13
-
* @param fiberRoot The `fiberRootNode`, which is the root node of the fiber tree is stored in the current property of the fiber root object which we can use to traverse the tree
9
+
* Creates a new snapshot of the fiber tree and sends it to the front end.
10
+
* Runs after every Fiber commit when not in jumping mode.
11
+
* @param fiberRoot - The fiber root; the root node is in its `current` property.
14
12
*/
15
-
// updating tree depending on current mode on the panel (pause, etc)
0 commit comments