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

Method _fulfill

playwright/_impl/_waiter.py:98–102  ·  view source on GitHub ↗
(self, result: Any)

Source from the content-addressed store, hash-verified

96 listener[0].remove_listener(listener[1], listener[2])
97
98 def _fulfill(self, result: Any) -> None:
99 self._cleanup()
100 if not self._result.done():
101 self._result.set_result(result)
102 self._wait_for_event_info_after(self._wait_id)
103
104 def _reject(self, exception: Exception) -> None:
105 self._cleanup()

Callers 2

listenerMethod · 0.95

Calls 2

_cleanupMethod · 0.95

Tested by

no test coverage detected