Expand my Community achievements bar.

Admin UI SDK - Custom Menu - what is the use of the @adobe/uix-core tunnel component

Avatar

Level 2

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?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies