Share this page

# lr_peek_events

Checks for events.

## C Language

    void lr_peek_events( );

Example: lr_peek_events | Runtime Functions

## Java Language

    void lr.peek_events( );

Example: lr.peek_events | Runtime Functions | Java Syntax

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

- Scripts written in C language perform this check internally. Therefore, there is no need to use the lr_peek_events function.

- Scripts written in Java do not perform this check internally. Therefore, insert this function into your Vuser script at the point at which you want the Vuser to pause.

## Return Values

No value is returned.

## Parameterization

You cannot use standard parameterization for any arguments in this function.

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