MCPcopy
hub / github.com/raiden-network/raiden / remove_callback

Method remove_callback

raiden/tasks.py:220–223  ·  view source on GitHub ↗

Remove callback from the list of callbacks if it exists

(self, callback: Callable)

Source from the content-addressed store, hash-verified

218 self.callbacks.append(callback)
219
220 def remove_callback(self, callback: Callable) -> None:
221 """Remove callback from the list of callbacks if it exists"""
222 if callback in self.callbacks:
223 self.callbacks.remove(callback)
224
225 def loop_until_stop(self) -> None:
226 sleep_time = self.sleep_time

Callers

nothing calls this directly

Calls 1

removeMethod · 0.80

Tested by

no test coverage detected