MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / deployStub

Method deployStub

tools/xsbug/esptool.js:546–550  ·  view source on GitHub ↗
(stub)

Source from the content-addressed store, hash-verified

544 }
545 }
546 async deployStub(stub) {
547 await this.downloadToMemory(stub.text, stub.text_start);
548 await this.downloadToMemory(stub.data, stub.data_start, stub.entry);
549 this.#statusSize = 2;
550 }
551 async getReply(timeout = 1000, wait = false) {
552 let received;
553 const end = Date.now() + timeout;

Callers 1

beginProgrammingMethod · 0.95

Calls 1

downloadToMemoryMethod · 0.95

Tested by

no test coverage detected