swiftwasm / JavaScriptKit

Swift framework to interact with JavaScript through WebAssembly.
https://swiftpackageindex.com/swiftwasm/JavaScriptKit/main/documentation/javascriptkit
MIT License
664 stars 44 forks source link

Replace `@_spi` usages with `package` access modifier #237

Closed ikesyo closed 5 months ago

ikesyo commented 5 months ago
kateinoigakukun commented 5 months ago

Actually, there are some use cases of this SPI in some real applications to bypass some overhead (e.g. argument and method name serializations) while sharing object id space. So I'd like to keep this exposed as a "feature" for expert.

ikesyo commented 5 months ago

Thanks for the detailed explanation! It makes sense 👍