shaunduncan/smokesignal

Create disconnect partials

Closed this issue · 0 comments

Registering callbacks should also create partials for disconnect and disconnect_from so I can do something like:

import smokesignal

@smokesignal.on('foo')
def cb():
    pass

cb.disconnect()
cb.disconnect_from('foo')