MCPcopy Index your code
hub / github.com/cameri/nostream / run

Method run

src/app/worker.ts:26–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 }
25
26 public run(): void {
27 this.watchers = SettingsStatic.watchSettings()
28
29 const port = process.env.PORT || process.env.RELAY_PORT || 8008
30 this.adapter.listen(typeof port === 'number' ? port : Number(port))
31 }
32
33 private onMessage(message: { eventName: string; event: unknown }): void {
34 this.adapter.emit(message.eventName, message.event)

Callers

nothing calls this directly

Calls 2

watchSettingsMethod · 0.80
listenMethod · 0.65

Tested by

no test coverage detected