@typed-tabletop-simulator/lib
Version:
Library with some helping modules for working with Tabletop Simulator
13 lines (12 loc) • 343 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.takeObject = void 0;
const takeObject = (container, options) => new Promise((resolve) => {
container.takeObject({
...options,
callback_function: (obj) => {
resolve(obj);
},
});
});
exports.takeObject = takeObject;