Allow passing imports to instantiateWasm
              
              #2065
            
            
                  
                    
                      keller-mark
                    
                  
                
                  started this conversation in
                Ideas
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
This would enable passing JS functions that can be exposed to custom DuckDB-WASM extensions. I want my extension code to be able to call a JS function that I specify and provide via the
importsparameter ofinstantiateWasm.While there is already
createScalarFunction, this is only for scalars. This does not allow my JS function to have an arbitrary return value, such as a whole arrow column vector or table.duckdb-wasm/packages/duckdb-wasm/src/bindings/bindings_browser_base.ts
Line 39 in ff93f70
Beta Was this translation helpful? Give feedback.
All reactions