pub fn import_bundle_from_js_object<'a, C: Context<'a>>(
    cx: &mut C,
    import_bundle_js: Handle<'_, JsObject>
) -> NeonResult<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

  • NeonResult<ImportBundle> - rust ImportBundle struct

Errors

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