Monorepo for Tangled tangled.org

eventconsumer: no way to remove/disconnect a source #510

Closed mitchellh.com
Closed opened by mitchellh.com

The eventconsumer.Consumer only supports adding sources (knots, spindles). There is no public API to remove one, and nothing in the appview or spindle ever disconnects a knot/spindle once it has been added as far as I can tell (but I have to be wrong here?).

There should be a RemoveSource function we can trigger to close the websocket connection and remove it from our event consumers.

Please let me know if I'm misunderstanding something here.

This is now fixed!

Sign up or Sign in to add to the discussion.