Skip to content

Commit d220c49

Browse files
committed
Add sender to onMessage of function
1 parent 9a7e1c6 commit d220c49

File tree

1 file changed

+1
-1
lines changed
  • packages/networker/networker/lib/src/plugin

1 file changed

+1
-1
lines changed

packages/networker/networker/lib/src/plugin/rpc.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ mixin RpcNetworkerPipeMixin on NetworkerPipe<Uint8List, RpcNetworkerPacket> {
159159
bool forceLocal = false,
160160
}) {
161161
if (!isValidCall(function, sender)) return false;
162-
_functions[function]?.pipe.onMessage(data);
162+
_functions[function]?.pipe.onMessage(data, sender);
163163
return true;
164164
}
165165

0 commit comments

Comments
 (0)