Skip to content

Commit

Permalink
docs: fix typo (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
simoneb authored Dec 4, 2024
1 parent d172170 commit bd17b0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/internal.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ and other magic methods. Each proxy property access is mirrored on the other sid

Proxy objects on both sides of the bridge are GC tracked. In JavaScript, all python Proxy objects
are registered to a FinalizationRegistry. In Python, `__del__` is used to track the Proxy object's
destruction. When the proxy object is destoryed on one side of the bridge, its refrence is removed
destruction. When the proxy object is destoryed on one side of the bridge, its reference is removed
from the other side of the bridge. This means you don't have to deal with memory management.

### On the JavaScript side
The magic behind this is the usage of Proxy chains which permits call stack build up, until
a .then call for property access or a function call is done. Afterwards, the callstack is sent
and executed in Python.
and executed in Python.

0 comments on commit bd17b0d

Please sign in to comment.