/*!
 * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
 * Licensed under the MIT License.
 */
/**
 * Ensures this context's computation is a dependant to dependee (adding it if needed).
 * Ensures this context's computation has dependee as a dependee (adding it if needed).
 * @public
 */
export function recordDependency(dependent, dependee) {
    if (dependent) {
        if (dependee.registerDependent(dependent)) {
            dependent.registerDependee(dependee);
        }
    }
}
//# sourceMappingURL=incrementalObservation.js.map