MCPcopy
hub / github.com/mitmproxy/mitmproxy / send

Method send

mitmproxy/utils/signals.py:76–78  ·  view source on GitHub ↗
(self, *args: P.args, **kwargs: P.kwargs)

Source from the content-addressed store, hash-verified

74 super().disconnect(receiver)
75
76 def send(self, *args: P.args, **kwargs: P.kwargs) -> None:
77 for ret in super().notify(*args, **kwargs):
78 assert ret is None or not inspect.isawaitable(ret)
79
80
81class _AsyncSignal(Generic[P], _SignalMixin):

Callers 15

handleMethod · 0.45
test_sync_signalFunction · 0.45
test_signal_weakrefFunction · 0.45
test_async_signalFunction · 0.45
add_optionMethod · 0.45
rollbackMethod · 0.45
resetMethod · 0.45
update_knownMethod · 0.45
registerMethod · 0.45
refreshMethod · 0.45
_refilterMethod · 0.45
set_reversedMethod · 0.45

Calls 1

notifyMethod · 0.80

Tested by 3

test_sync_signalFunction · 0.36
test_signal_weakrefFunction · 0.36
test_async_signalFunction · 0.36