"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AsyncS = exports.AsyncSRef = exports.AsyncSWatch = exports.AsyncSCall = exports.AsyncSGet = void 0;
const proxyWrap_1 = require("../../../proxyWrap");
const AsyncGraph_1 = require("./AsyncGraph");
const AsyncSGet = (system) => {
    return {};
};
exports.AsyncSGet = AsyncSGet;
const AsyncSCall = (system) => {
    return {};
};
exports.AsyncSCall = AsyncSCall;
const AsyncSWatch = (system) => {
    return {};
};
exports.AsyncSWatch = AsyncSWatch;
const AsyncSRef = (system) => {
    return {
        $newGraph({ bundle, _ }) {
            const _bundle = system.fromBundle(bundle);
            const graph = system.newGraph(_bundle);
            const $graph = (0, AsyncGraph_1.AsyncGraph)(graph);
            return (0, proxyWrap_1.proxyWrap)($graph, _);
        },
    };
};
exports.AsyncSRef = AsyncSRef;
const AsyncS = (system) => {
    return {
        ...(0, exports.AsyncSGet)(system),
        ...(0, exports.AsyncSCall)(system),
        ...(0, exports.AsyncSWatch)(system),
        ...(0, exports.AsyncSRef)(system),
    };
};
exports.AsyncS = AsyncS;
//# sourceMappingURL=AsyncS.js.map