Skip to content

Commit

Permalink
Fix rpc call function
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed Jan 17, 2025
1 parent 665e5bb commit c15b46b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/networker/networker/lib/src/plugin/rpc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ final class RpcNetworkerPipe
bool forceLocal = false,
}) {
if (!isValidCall(function, sender)) return false;
functions[function]?.pipe.sendMessage(data);
functions[function]?.pipe.onMessage(data);
return true;
}

Expand Down

0 comments on commit c15b46b

Please sign in to comment.