"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Async = void 0;
const AsyncWrap_1 = require("./AsyncWrap");
const Async = (instance, _, wrapper) => {
    instance.__async = true;
    const $_ = [];
    for (const __ of _) {
        if (!instance.$__.includes(__)) {
            $_.push(__);
            instance.$__.push(__);
        }
    }
    return (0, AsyncWrap_1.AsyncWrap)(instance, $_, wrapper);
};
exports.Async = Async;
//# sourceMappingURL=Async.js.map