Skip to main content
Version: next

proxy.getPrototypeOf

Type: ProxyEvent

Fired when the prototype of a proxy is retrieved.

const proxy = nexo.create({});

nexo.on("proxy.getPrototypeOf", () => {
console.log("Prototype requested");
});

Object.getPrototypeOf(proxy); // Logs: Prototype requested