reset

fun reset()(source)

Removes all registered event handlers. Needed when the server live reloads the api.