off

fun off(event: String)

Unregisters all event handlers for a specified event.

Parameters

event

The event name to remove handlers for.