Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

var callbacks = []; function Building @Anywhere (for TXJS)

19,135 views

Published on

var callbacks = [];

function remoteCall(method, args, token, callback) {
var id;

id = uuid++;
callbacks[id] = callback;

sendToServer({
uuid: id,
method: method,
args: args,
token: token
});
}

Published in: Technology
  • Be the first to comment

×