Skip to content

Commit 9535a91

Browse files
committed
feat!(scripting_api): remove ExposedThing method setEventHandler
This method is not specified in the Scripting API specification and should therefore be removed from the interface definition.
1 parent 0057cba commit 9535a91

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/src/core/scripting_api/exposed_thing.dart

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,6 @@ abstract interface class ExposedThing {
111111
EventSubscriptionHandler handler,
112112
);
113113

114-
/// Assigns a [handler] function to an event with a given [name].
115-
///
116-
/// If the event is emitted, the [handler] function will be called.
117-
void setEventHandler(String name, EventListenerHandler handler);
118-
119114
/// Informs all subscribers of an Event with the given [name] that it has
120115
/// occurred.
121116
///

0 commit comments

Comments
 (0)