# EventHandler

## Content

# Type Alias: EventHandler

```ts
type EventHandler = (args) => any;
```

EventFan event handler. Invokes when the cancellation is requested.

## Parameters

### args

[`EventArgs`](EventArgs)

## Returns

`any`
