(
owner: Solid.Owner,
fn: VoidFunction,
prepend = false,
symbol?: symbol,
)
| 272 | * Listen to when the owner is disposed. (not on cleanup) |
| 273 | */ |
| 274 | export function onOwnerDispose( |
| 275 | owner: Solid.Owner, |
| 276 | fn: VoidFunction, |
| 277 | prepend = false, |
| 278 | symbol?: symbol, |
| 279 | ): VoidFunction { |
| 280 | if (isSolidRoot(owner)) return onOwnerCleanup(owner, fn, prepend, symbol) |
| 281 | return onParentCleanup(owner, fn, prepend, symbol) |
| 282 | } |
no test coverage detected
searching dependent graphs…