MCPcopy Create free account
hub / github.com/microsoft/debugpy / is_event

Method is_event

src/debugpy/common/messaging.py:481–485  ·  view source on GitHub ↗

Returns True if this message is an Event of one of the specified types.

(self, *event)

Source from the content-addressed store, hash-verified

479 return key in self.payload
480
481 def is_event(self, *event):
482 """Returns True if this message is an Event of one of the specified types."""
483 if not isinstance(self, Event):
484 return False
485 return event == () or self.event in event
486
487 def is_request(self, *command):
488 """Returns True if this message is a Request of one of the specified types."""

Callers 1

propagateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected