MCPcopy Index your code
hub / github.com/MALSync/MALSync / setContinueWaching

Function setContinueWaching

src/utils/general.ts:244–246  ·  view source on GitHub ↗
(url: string, ep: number, type, id)

Source from the content-addressed store, hash-verified

242}
243
244export async function setContinueWaching(url: string, ep: number, type, id) {
245 return api.storage.set(`continue/${type}/${id}`, { url, ep });
246}
247
248export async function getContinueWaching(type, id): Promise<{ url?: string; ep?: number } | void> {
249 if (!api.settings.get('malContinue')) return;

Callers

nothing calls this directly

Calls 1

setMethod · 0.65

Tested by

no test coverage detected