"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Functional_1 = require("../../../../../Class/Functional");
const method_1 = require("../../../../../client/method");
const Async_1 = require("../../../../../types/interface/async/Async");
const _ids_1 = require("../../../../_ids");
class Read0 extends Functional_1.Functional {
    constructor(system) {
        super({
            i: ['value', 'any'],
            o: ['data'],
        }, {
            input: {
                value: {
                    ref: true,
                },
            },
            output: {
                data: {
                    ref: true,
                },
            },
        }, system, _ids_1.ID_READ_0);
    }
    f({ value, any }, done, fail) {
        value = (0, Async_1.Async)(value, ['V'], this.__system.async);
        const data = value.$refer({ __: method_1.ALL_INTERFACES });
        done({ data });
    }
}
exports.default = Read0;
//# sourceMappingURL=index.js.map