How to define RPC methods on a separate file
I have an RPC method that is very long and thus don't want to define in the same place as other functions. I though about doing
myFunction = myFunction but it complains that The RPC receiver does not implement the method "myFunction". Since myFunction uses this it's defined as:
I even tried "proxying" it
but now it complains that it expected 1 arg, but got two1 Reply
posting always helps. found solution