@types/audioworklet
Version:
Types for the global scope of Audio Worklets
9 lines (7 loc) • 310 B
TypeScript
/////////////////////////////
/// AudioWorklet Async Iterable APIs
/////////////////////////////
interface ReadableStream<R = any> {
[Symbol.asyncIterator](options?: ReadableStreamIteratorOptions): AsyncIterableIterator<R>;
values(options?: ReadableStreamIteratorOptions): AsyncIterableIterator<R>;
}