Added some extra parameters to pass to the web threading pool

This commit is contained in:
Johnathan Sharratt
2023-03-12 12:56:19 +11:00
parent f39353b53e
commit 8b21135ea4
7 changed files with 25 additions and 4 deletions

View File

@@ -56,6 +56,12 @@ pub struct Module {
unsafe impl Send for Module {}
unsafe impl Sync for Module {}
impl From<Module> for JsValue {
fn from(val: Module) -> Self {
Self::from(val.module)
}
}
impl Module {
pub(crate) fn from_binary(
_engine: &impl AsEngineRef,