Skip to content

Commit

Permalink
fix(scripting_api)!: use correct ActionHandler signature
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Jun 15, 2024
1 parent be4ce36 commit 2e8dd71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/core/scripting_api/exposed_thing.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ typedef PropertyWriteHandler = Future<void> Function(

/// A function that is called when an external request for invoking an Action
/// is received and defines what to do with such requests.
typedef ActionHandler = Future<void> Function(
typedef ActionHandler = Future<InteractionInput> Function(
InteractionOutput params, {
int? formIndex,
Map<String, Object>? uriVariables,
Expand Down

0 comments on commit 2e8dd71

Please sign in to comment.