"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.wrapSharedValue = wrapSharedValue;
function wrapSharedValue(data, _system) {
    return {
        read(callback) {
            callback(data.current);
        },
        write(data_, callback) {
            data.current = data_;
            callback();
        },
    };
}
//# sourceMappingURL=SharedValue.js.map