ophyd.ophydobj.OphydObject.clear_sub

OphydObject.clear_sub(cb, event_type=None)

Remove a subscription, given the original callback function

See also subscribe(), unsubscribe()

Parameters:
cb : callable

The callback

event_type : str, optional

The event to unsubscribe from (if None, removes it from all event types)