MCPcopy Index your code
hub / github.com/microsoft/playwright-python / _cancel

Method _cancel

playwright/_impl/_sync_base.py:62–63  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

60 return cast(T, mapping.from_maybe_impl(self._future.result()))
61
62 def _cancel(self) -> None:
63 self._future.cancel()
64
65 def is_done(self) -> bool:
66 return self._future.done()

Callers 1

__exit__Method · 0.45

Calls 1

cancelMethod · 0.45

Tested by

no test coverage detected