MCPcopy Create free account
hub / github.com/fbeline/design-patterns-JS / OffCommand

Function OffCommand

src/behavioral/command/command.js:44–46  ·  view source on GitHub ↗
(turbine)

Source from the content-addressed store, hash-verified

42};
43
44function OffCommand(turbine) {
45 this.turbine = turbine;
46}
47
48OffCommand.prototype.execute = function() {
49 this.turbine.off();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected