Skip to main content
Version: v1.1.0

Proxy Events Reference

Overview

Nexos emits fine-grained events for each JavaScript Proxy trap. These events allow you to observe and modify low-level behavior of objects and functions in real time — enabling powerful debugging, instrumentation, or dynamic behavior injection.

This page serves as a complete reference to all proxy.* events that can be listened to and handled within Nexos.


Core Proxy Events

These are general-purpose proxy events that aren't tied to specific traps:

  • proxy — Emitted whenever a new proxy is created.
  • proxy.error — Captures exceptions thrown during proxy operations.

Proxy Trap Events

Each Proxy trap in JavaScript corresponds to a proxy.* event. You can hook into these to monitor or override behavior at a very granular level: