callFunction method
Implementation
bool callFunction(
int function,
Uint8List data, {
Channel sender = kAnyChannel,
bool forceLocal = false,
}) {
if (!isValidCall(function, sender)) return false;
_functions[function]?.pipe.onMessage(data, sender);
return true;
}