| 295 | } |
| 296 | } |
| 297 | em::val NativeTestHelpers::check_async_interface(const em::val& w_i) { |
| 298 | try { |
| 299 | auto r = ::testsuite::TestHelpers::check_async_interface(::djinni_generated::NativeAsyncInterface::toCpp(w_i)); |
| 300 | return ::djinni::FutureAdaptor<::djinni::String>::fromCpp(std::move(r)); |
| 301 | } |
| 302 | catch(const std::exception& e) { |
| 303 | return ::djinni::ExceptionHandlingTraits<::djinni::FutureAdaptor<::djinni::String>>::handleNativeException(e); |
| 304 | } |
| 305 | } |
| 306 | em::val NativeTestHelpers::check_async_composition(const em::val& w_i) { |
| 307 | try { |
| 308 | auto r = ::testsuite::TestHelpers::check_async_composition(::djinni_generated::NativeAsyncInterface::toCpp(w_i)); |