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