MCPcopy
hub / github.com/truelockmc/streambert / sourceIsAsync

Function sourceIsAsync

src/utils/api.js:227–228  ·  view source on GitHub ↗
(sourceId)

Source from the content-addressed store, hash-verified

225 PLAYER_SOURCES.find((s) => s.id === sourceId)?.progressViaFrames ?? false;
226
227export const sourceIsAsync = (sourceId) =>
228 PLAYER_SOURCES.find((s) => s.id === sourceId)?.async ?? false;
229
230// Return the next non-async source after `currentId` in PLAYER_SOURCES order
231export const getNextNonAsyncSource = (currentId) => {

Callers 2

TVPageFunction · 0.90
MoviePageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected