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
- cbcallable
The callback
- event_typestr, optional
The event to unsubscribe from (if None, removes it from all event types)