> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# OnWaitIntervalExceeded Method of the IParallelProcessingCallback Interface

<Note>
  This method is implemented in FRE for Linux and Windows.
</Note>

This method is called by ABBYY FineReader Engine if wait interval timeout occurs during the parallel processing. Its implementation may report the errors to the user.

The method allows you to choose the reaction to the timeout: wait another time period, reload the processes and continue processing or cancel processing.

## Syntax

### C++

```cpp theme={null}
HRESULT OnWaitIntervalExceeded(
  BSTR                     Warning,
  TimeoutHandlingModeEnum* Mode
 );
```

### C\#

```csharp theme={null}
void OnWaitIntervalExceeded(
  string                      Warning,
  ref TimeoutHandlingModeEnum Mode
);
```

### Visual Basic .NET

```vb theme={null}
Sub OnWaitIntervalExceeded( _
  Warning As String, _
  ByRef Mode As TimeoutHandlingModeEnum _
)
```

## Parameters

Warning

\[in] Contains the error message and the list of files in progress. The numbers of document pages in progress are specified in format: "Page \[Page number], image source file \[File name]".

Mode

\[in, out] Contains the user reaction to the wait interval timeout. The list of possible reactions you can find in the [TimeoutHandlingModeEnum](/fine-reader/engine/api-reference/enumerations/timeouthandlingmodeenum) description.

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FineReader Engine functions](/fine-reader/engine/api-reference/return-codes).

## See also

[IParallelProcessingCallback](/fine-reader/engine/api-reference/supplementary-objects-and-methods/iparallelprocessingcallback)

[Parallel Processing with ABBYY FineReader Engine](/fine-reader/engine/guided-tour/advanced-techniques/parallel-processing)
