method ReadableStreamDefaultReader.cancel ReadableStreamDefaultReader.cancel(reason?: any): Promise<void> Parameters optional reason: any Return Type Promise<void>