(node: NodeUnit)
| 2 | import {clearNode} from './clearNode' |
| 3 | |
| 4 | export const createSubscription = (node: NodeUnit): Subscription => |
| 5 | addUnsubscribe(() => clearNode(node)) |
| 6 | |
| 7 | export function addUnsubscribe(callback: () => void): Subscription { |
| 8 | const subscription: Subscription = () => callback() |
no test coverage detected
searching dependent graphs…