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

Method once

playwright/sync_api/_generated.py:6934–6939  ·  view source on GitHub ↗

Emitted when this dedicated [WebWorker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API) is terminated.

(
        self, event: Literal["close"], f: typing.Callable[["Worker"], "None"]
    )

Source from the content-addressed store, hash-verified

6932
6933 @typing.overload
6934 def once(
6935 self, event: Literal["close"], f: typing.Callable[["Worker"], "None"]
6936 ) -> None:
6937 """
6938 Emitted when this dedicated [WebWorker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API) is
6939 terminated."""
6940
6941 @typing.overload
6942 def once(

Callers

nothing calls this directly

Calls 1

onceMethod · 0.45

Tested by

no test coverage detected