# flush

### Function

> flush

### Syntax

> flush( );

### Parameters

No argument.

### Description

Flushes the logs created within script engine events.

### Examples

`flush();`

Removes all the script logs that are waiting to be delivered.

### Remarks

This function is equivalent to the '[flush](https://docs.hyperdbg.org/commands/debugging-commands/flush)' command in the script engine.

### Related

None
