File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ interface Signal<T = any> extends ReactiveNode {
2222 value : T ;
2323}
2424
25- const pauseStack : ( ReactiveNode | undefined ) [ ] = [ ] ;
2625const queuedEffects : ( Effect | EffectScope | undefined ) [ ] = [ ] ;
2726const {
2827 link,
@@ -82,20 +81,6 @@ export function endBatch() {
8281 }
8382}
8483
85- /**
86- * @deprecated Will be removed in the next major version. Use `const pausedSub = setCurrentSub(undefined)` instead for better performance.
87- */
88- export function pauseTracking ( ) {
89- pauseStack . push ( setCurrentSub ( undefined ) ) ;
90- }
91-
92- /**
93- * @deprecated Will be removed in the next major version. Use `setCurrentSub(pausedSub)` instead for better performance.
94- */
95- export function resumeTracking ( ) {
96- setCurrentSub ( pauseStack . pop ( ) ) ;
97- }
98-
9984export function signal < T > ( ) : {
10085 ( ) : T | undefined ;
10186 ( value : T | undefined ) : void ;
You can’t perform that action at this time.
0 commit comments