"use strict";
/*!
 * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
 * Licensed under the MIT License.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.recordDependency = void 0;
/**
 * 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
 */
function recordDependency(dependent, dependee) {
    if (dependent) {
        if (dependee.registerDependent(dependent)) {
            dependent.registerDependee(dependee);
        }
    }
}
exports.recordDependency = recordDependency;
//# sourceMappingURL=incrementalObservation.js.map