A better long-term solution would be to have a method invocation return a 'deferred'-type object when the method's return type is a list. As happens with collections today, this object would only go over to the server once the user sliced it or otherwise looked inside the list. For methods that do not have list return types, invoking the method would go directly to the server.
A better long-term solution would be to have a method invocation return a 'deferred'-type object when the method's return type is a list. As happens with collections today, this object would only go over to the server once the user sliced it or otherwise looked inside the list. For methods that do not have list return types, invoking the method would go directly to the server.