> For the complete documentation index, see [llms.txt](https://away-from-keyboard.gitbook.io/afkhandler/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://away-from-keyboard.gitbook.io/afkhandler/featureinterface.md).

# EventInterface

#### EventInterface\<V extends keyof ClientEvents, T = unknown> -> Interface

* **name**: ClientEvents keys (keyof);&#x20;

* **once**?: boolean;&#x20;

* **callback**?: [EventCallback](/afkhandler/callbacks.md)\<V, T>;&#x20;

* **run**?: [EventCallback](/afkhandler/callbacks.md)\<V, T>;&#x20;

* **fire**?:[EventCallback](/afkhandler/callbacks.md)\<V, T>;

* **execute**?: [EventCallback](/afkhandler/callbacks.md)\<V, T>;

* **emit**?: [EventCallback](/afkhandler/callbacks.md)\<V, T>;

* **name**: event name;&#x20;

* **once**: if the event will only fire once;&#x20;

* **callback**: function executed when the event is fired;&#x20;

* **run**: function executed when the event is fired;&#x20;

* **fire** function executed when the event is fired;

* **execute**: function executed when the event is fired;

* **emit**: function executed when the event is fired;
