diff --git a/lib/src/core/scripting_api/exposed_thing.dart b/lib/src/core/scripting_api/exposed_thing.dart index 3aff4b92..241e7440 100644 --- a/lib/src/core/scripting_api/exposed_thing.dart +++ b/lib/src/core/scripting_api/exposed_thing.dart @@ -111,11 +111,6 @@ abstract interface class ExposedThing { EventSubscriptionHandler handler, ); - /// Assigns a [handler] function to an event with a given [name]. - /// - /// If the event is emitted, the [handler] function will be called. - void setEventHandler(String name, EventListenerHandler handler); - /// Informs all subscribers of an Event with the given [name] that it has /// occurred. ///