Audio · type

FetchLike

Injectable so the resolution rules can be tested without a network.

Explained in Your first game.

type FetchLike = (url: string) => Promise<Response>
import type { FetchLike } from '@driftengine/audio';