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

Method constructor

packages/databus-wasm-web/databus_wasm.js:372–379  ·  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

370 * @param {string} room_server_url
371 */
372 constructor(base_url, room_server_url) {
373 const ptr0 = passStringToWasm0(base_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
374 const len0 = WASM_VECTOR_LEN;
375 const ptr1 = passStringToWasm0(room_server_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
376 const len1 = WASM_VECTOR_LEN;
377 const ret = wasm.databusbridge_new(ptr0, len0, ptr1, len1);
378 return DataBusBridge.__wrap(ret);
379 }
380 /**
381 * @returns {Promise<void>}
382 */

Callers

nothing calls this directly

Calls 2

passStringToWasm0Function · 0.70
__wrapMethod · 0.45

Tested by

no test coverage detected