Share this page

# lr.peek_events

Checks for events.

## C#

    void lr.peek_events( );

## VB.NET

    Sub lr.peek_events( )

Runtime Functions

## Arguments

Name | Comments
--- | ---
N/A |

The lr.peek_events function suspends the Vuser script run and checks for events before resuming.

## Return Values

No value returned.

## Parameterization

Standard parameterization is not available for this function.

## Example

In the following example, the output messages indicate when the script begins and finishes to look for events.

    lr.output_message("About to check for events. Pauses can be intercepted.");lr.peek_events();lr.output_message("Finished checking for events or pauses.");

Tips to improve your search results... VuGen Function Reference Version 26.1 Function Reference 26.1 All View Local Help Center View Online Help Center Version: