A lightweight JSON RPC client & server
Home > async-call-rpc > AsyncCallOptions > preferLocalImplementation
Prefer local implementation than remote.
Signature:
preferLocalImplementation?: boolean;
If you call a RPC method and it is also defined in the local, open this flag will call the local implementation directly instead of send a RPC request. No logs / serialization will be performed if a local implementation is used.