Skip to content

Commit 0057cba

Browse files
committed
fix(scripting_api)!: use correct ActionHandler signature
1 parent fc3d0a6 commit 0057cba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/core/scripting_api/exposed_thing.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ typedef PropertyWriteHandler = Future<void> Function(
2727

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

0 commit comments

Comments
 (0)