<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/storage](./storage.md) &gt; [UploadTask](./storage.uploadtask.md) &gt; [pause](./storage.uploadtask.pause.md)

## UploadTask.pause() method

Pauses a currently running task. Has no effect on a paused or failed task.

<b>Signature:</b>

```typescript
pause(): boolean;
```
<b>Returns:</b>

boolean

True if the operation took effect, false if ignored.

