MCPcopy Create free account
hub / github.com/avoidwork/tenso / stop

Method stop

src/tenso.js:398–406  ·  view source on GitHub ↗

* Stops the server * @returns {Tenso} The Tenso instance for method chaining

()

Source from the content-addressed store, hash-verified

396 * @returns {Tenso} The Tenso instance for method chaining
397 */
398 stop () {
399 if (this.server !== null) {
400 this.server.close();
401 this.server = null;
402 this.log(`Stopped server on ${this.host}:${this.port}`);
403 }
404
405 return this;
406 }
407}
408
409/**

Callers 7

signalsMethod · 0.95
testRequestResponseFunction · 0.80
rateLimitLoadTestsFunction · 0.80
hypermediaEnabledTestsFunction · 0.80
hypermediaDisabledTestsFunction · 0.80
mainFunction · 0.80
testServerLifecycleFunction · 0.80

Calls 1

logMethod · 0.80

Tested by

no test coverage detected