(
o: Solid.Owner | Solid.Signal,
type?: 'computation' | 'signals' | 'owned',
)
| 60 | ): true | VoidFunction |
| 61 | function markDebugNode(o: Solid.Signal): true | VoidFunction |
| 62 | function markDebugNode( |
| 63 | o: Solid.Owner | Solid.Signal, |
| 64 | type?: 'computation' | 'signals' | 'owned', |
| 65 | ): true | VoidFunction { |
| 66 | let property: '$debug' | '$debugSignals' | '$debugOwned' | '$debugSignal' |
| 67 | if (type === 'computation') property = '$debug' |
| 68 | else if (type === 'signals') property = '$debugSignals' |
| 69 | else if (type === 'owned') property = '$debugOwned' |
| 70 | else property = '$debugSignal' |
| 71 | |
| 72 | if ((o as any)[property]) return true |
| 73 | ;(o as any)[property] = true |
| 74 | return () => ((o as any)[property] = false) |
| 75 | } |
| 76 | |
| 77 | interface DebugComputationOptions { |
| 78 | /** hook called during initial computation run? *(Defaults to `true`)* */ |
no outgoing calls
no test coverage detected
searching dependent graphs…