MCPcopy Index your code
hub / github.com/nukeop/nuclear / subscribe

Method subscribe

packages/plugin-sdk/src/api/playback.ts:47–49  ·  view source on GitHub ↗
(listener: PlaybackListener)

Source from the content-addressed store, hash-verified

45 }
46
47 subscribe(listener: PlaybackListener): () => void {
48 return this.#withHost((host) => host.subscribe(listener));
49 }
50
51 getVolume(): Promise<number> {
52 return this.#withHost((host) => host.getVolume());

Callers

nothing calls this directly

Calls 1

#withHostMethod · 0.95

Tested by

no test coverage detected