pub fn import_bundle_from_js<'a, C: Context<'a>>(
    cx: &mut C,
    import_bundle_js: Handle<'_, JsArray>
) -> NeonResult<Vec<ImportBundle>>
Expand description

Function to convert ImportBundle JsObject to ImportBundle struct

Arguments

  • cx - Neon FunctionContext
  • import_bundle_js - Neon JsObject containing the import bundle

Returns

  • JsResult<Vec<ImportBundle>> - rust ImportBundle struct

Errors

  • Throws a Neon error if the import bundle cannot be converted