Rename editor_api.rs -> editor_wrapper.rs (#3926)

This commit is contained in:
Keavon Chambers
2026-03-21 03:34:08 -07:00
committed by GitHub
parent 087b4cd71f
commit 4a0c2016e6
7 changed files with 13 additions and 8 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
# Overview of `/frontend/wasm/`
## Wasm wrapper API: `src/editor_api.rs`
## Wasm wrapper API: `src/editor_wrapper.rs`
Provides bindings for JS to call functions defined in this file, and for `FrontendMessage`s to be sent from Rust back to JS in the form of a callback to the subscription router. This Wasm wrapper crate, since it's written in Rust, is able to call into the Editor crate's codebase and send `FrontendMessage`s back to JS.