UNPKG

@typed-tabletop-simulator/lib

Version:
13 lines (12 loc) 343 B
"use strict"; 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;