You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have an events reference that shows how to connect a layer or viewer event, and a guide on hooking up your own events, but none of them mention how to disconnect from that event 😅.
We should document that! Especially because I know in some cases (don't know which, don't know if they're relevant), your connect call returns a function you call to disconnect, whereas in other cases like layer events, you do my_layer.events.blah.disconnect(my_func)
Outline
I think these should be updates to existing docs linked above.
The text was updated successfully, but these errors were encountered:
Not very! I just remember doing this at some stage for napari stuff but you're probably right that it's not any of our public events. I just wanted to flag it so that we actually check
📚 New content request
We have an events reference that shows how to connect a layer or viewer event, and a guide on hooking up your own events, but none of them mention how to disconnect from that event 😅.
We should document that! Especially because I know in some cases (don't know which, don't know if they're relevant), your
connect
call returns a function you call to disconnect, whereas in other cases like layer events, you domy_layer.events.blah.disconnect(my_func)
Outline
I think these should be updates to existing docs linked above.
The text was updated successfully, but these errors were encountered: