MCPcopy
hub / github.com/yume-chan/ya-webadb / dispose

Method dispose

libraries/stream-extra/src/duplex.ts:133–142  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

131 }
132
133 async dispose() {
134 this.#writableClosed = true;
135 this.#closed.resolve();
136
137 for (const controller of this.#readableControllers) {
138 tryClose(controller);
139 }
140
141 await this.#options.dispose?.();
142 }
143}

Callers 2

wrapReadableMethod · 0.95
closeMethod · 0.95

Calls 2

tryCloseFunction · 0.85
disposeMethod · 0.65

Tested by

no test coverage detected