MCPcopy Create free account
hub / github.com/apitable/apitable / constructor

Method constructor

packages/databus-wasm-nodejs/databus_wasm.js:307–314  ·  view source on GitHub ↗

* @param {string} base_url * @param {string} room_server_url

(base_url, room_server_url)

Source from the content-addressed store, hash-verified

305 * @param {string} room_server_url
306 */
307 constructor(base_url, room_server_url) {
308 const ptr0 = passStringToWasm0(base_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
309 const len0 = WASM_VECTOR_LEN;
310 const ptr1 = passStringToWasm0(room_server_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
311 const len1 = WASM_VECTOR_LEN;
312 const ret = wasm.databusbridge_new(ptr0, len0, ptr1, len1);
313 return DataBusBridge.__wrap(ret);
314 }
315 /**
316 * @returns {Promise<void>}
317 */

Callers

nothing calls this directly

Calls 2

passStringToWasm0Function · 0.70
__wrapMethod · 0.45

Tested by

no test coverage detected