micnews / rpc-http

simple rpc over http
Other
5 stars 0 forks source link

callback fires twice if there's an error in the callback #7

Closed dey-dey closed 9 years ago

dey-dey commented 9 years ago

https://github.com/micnews/rpc-http/blob/master/client.js#L33-L41

not sure if this is desired?

ralphtheninja commented 9 years ago

@daedelus-j That is not desired :)

kesla commented 9 years ago

how can the callback fire twice?

kesla commented 9 years ago

oh, if there's an error in the callback. Now I see it :)

dey-dey commented 9 years ago

https://github.com/micnews/rpc-http/pull/8