Skip to content


Subversion checkout URL

You can clone with
Download ZIP


there is no api.remove #362

jcw opened this Issue · 3 comments

2 participants


For my long-running modular app based on SocketStream, I need to be able to unregister services, but socketstream.js only defines an "add" function.

I'll monkey-patch it in for now.


Hi there

Can you describe why you need this? The concept of api.add() will go away in 0.4, but you'll still be able to append properties to a global object which is accesible inside your code.


In HouseMon, you can install and uninstall modules from the client side - some of them add services on the server end, which then get called via rpc. They need to be removed again on uninstall, because otherwise you get an error when installing for the second time. I tend to avoid server restarts, because this is a long-running monitoring and data-acquisition setup.

On second thought - I could probably just "install" an empty server "callback" object, and then manage the HouseMon services there myself.


Hi there. As we've discussed I'm not (at least at the moment) trying to make a hot-loading server, so right now there's no need/use for an api.remove() function.

@owenb owenb closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.