MCPcopy Index your code
hub / github.com/Acode-Foundation/Acode / stop

Method stop

src/plugins/terminal/www/Executor.js:144–148  ·  view source on GitHub ↗

* Terminates a running process. * * @param {string} uuid - The process ID returned by Executor#start. * @returns {Promise } Resolves when the process has been stopped. * * @example * executor.stop(uuid);

(uuid)

Source from the content-addressed store, hash-verified

142 * executor.stop(uuid);
143 */
144 stop(uuid) {
145 return new Promise((resolve, reject) => {
146 exec(resolve, reject, this.ExecutorType, "stop", [uuid]);
147 });
148 }
149
150 /**
151 * Checks if a process is still running.

Callers

nothing calls this directly

Calls 1

execFunction · 0.50

Tested by

no test coverage detected