interface ReadableStreamGenericReader Properties readonly closed: Promise<undefined> Methods cancel(reason?: any): Promise<void>