diff --git a/stream.d.ts b/stream.d.ts index 2217114..4e96ebd 100644 --- a/stream.d.ts +++ b/stream.d.ts @@ -20,7 +20,7 @@ import { BaseQuad, Quad, Term } from './data-model'; * Optional events: * * prefix(prefix: string, iri: RDF.NamedNode): This event is emitted every time a prefix is mapped to some IRI. */ -export interface Stream extends EventEmitter { +export interface Stream extends EventEmitter, AsyncIterable { /** * This method pulls a quad out of the internal buffer and returns it. * If there is no quad available, then it will return null.