# RunWaitForFinishOptions<!-- -->

Options for waiting for a Run to finish.

## Index[](#Index)

### Properties

* [waitSecs](#waitSecs)

## Properties<!-- -->[](#Properties)

### [](#waitSecs)[](https://github.com/apify/apify-client-js/blob/99b6aa05a37cb5e573154cf0d7753ff5b206ef09/src/resource_clients/run.ts#L545)optionalwaitSecs

waitSecs?

<!-- -->

: number

Maximum time to wait for the run to finish, in seconds. If the limit is reached, the returned promise is resolved to a run object that will have status `READY` or `RUNNING`. If `waitSecs` omitted, the function waits indefinitely.
