Hello,
During development, I encountered an error related to the @adobe/uix-core package. Below are the details of the error.
tunnel.ts:268 Uncaught (in promise) Error: Timed out waiting for initial response from parent after 20000ms
at tunnel.ts:268:9
We have implemented a fix in the ExtensionRegistration.js file by extending the duration of the timeout parameter.
export default function ExtensionRegistration(props) {
useEffect(() => {
(async () => {
await register({
id: extensionId,
methods: {
....
},
// TODO: This timeout variable configured for the development purpose only
timeout: 1800000 // For 30 minutes
})
})()
}, [])
return <MainPage ims={props.ims} runtime={props.runtime} />
}
Can someone explain the purpose of the @adobe/uix-core tunnel component?