MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / stopService

Method stopService

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

* Stops the executor service completely. * * @returns {Promise } Resolves when the service has been stopped. * * Note: This does not gurantee that all running processes have been killed, but the service will no longer be active. Use with caution. * * @example * executor.

()

Source from the content-addressed store, hash-verified

224 * executor.stopService();
225 */
226 stopService() {
227 return new Promise((resolve, reject) => {
228 exec(resolve, reject, this.ExecutorType, "stopService", []);
229 });
230 }
231
232 /**
233 * Executes a shell command once and waits for it to finish.

Callers 4

closeTerminalMethod · 0.80
stopManagedServerFunction · 0.80
resetManagedServersFunction · 0.80
stopServiceNowMethod · 0.80

Calls 1

execFunction · 0.50

Tested by

no test coverage detected