I’m trying to pass a promise object via a Custom Event’s detail
property.
When I send an event and listen to it on the same JS script, it works fine.
However, it doesn’t seem to be working when sending an event between different JS scripts.
Is there any way or workaround to achieve this?