MCPcopy Create free account
hub / github.com/JavaCS3/xterm-player / innerFetchCast

Function innerFetchCast

src/CastFetcher.ts:4–8  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

2import { parse } from './CastParser'
3
4async function innerFetchCast(url: string): Promise<ICastObject> {
5 const res = await fetch(url)
6
7 return parse(await res.text())
8}
9
10export default function fetchCast(url: string): Promise<ICastObject> {
11 return innerFetchCast(url)

Callers 1

fetchCastFunction · 0.85

Calls 1

parseFunction · 0.90

Tested by

no test coverage detected