* 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.
()
| 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. |
no test coverage detected