Commit 85226a2
Rewrite rpcSession function as RpcSession class
Uses the RpcSessionImpl + RpcSession pattern from capnweb to hide
implementation details behind JS private fields (#impl).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 8fa639d commit 85226a2
File tree
4 files changed
+199
-183
lines changed- src
- __tests__
- fixtures
4 files changed
+199
-183
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments