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

Method subscribe

packages/plugin-sdk/src/api/queue.ts:76–78  ·  view source on GitHub ↗
(listener: (queue: Queue) => void)

Source from the content-addressed store, hash-verified

74 }
75
76 subscribe(listener: (queue: Queue) => void) {
77 return this.#withHost((h) => h.subscribe(listener));
78 }
79
80 subscribeToCurrentItem(listener: (item: QueueItem | undefined) => void) {
81 return this.#withHost((h) => h.subscribeToCurrentItem(listener));

Callers 15

useSettingFunction · 0.45
settings.test.tsFile · 0.45
createPluginSettingsHostFunction · 0.45
createCoreSettingsHostFunction · 0.45
createPlaybackHostFunction · 0.45
initLanguageWatcherFunction · 0.45
createPlaylistsHostFunction · 0.45
watchPlaybackFunction · 0.45
watchSettingsFunction · 0.45

Calls 1

#withHostMethod · 0.95

Tested by

no test coverage detected