MCPcopy Create free account
hub / github.com/bitcraze/crazyflie-lib-python / remove_callback

Method remove_callback

cflib/utils/callbacks.py:47–49  ·  view source on GitHub ↗

Un-register cb from the callbacks

(self, cb)

Source from the content-addressed store, hash-verified

45 self.callbacks.append(cb)
46
47 def remove_callback(self, cb):
48 """ Un-register cb from the callbacks """
49 self.callbacks.remove(cb)
50
51 def call(self, *args):
52 """ Call the callbacks registered with the arguments args """

Callers 1

Calls 1

removeMethod · 0.80

Tested by 1