You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm trying to set server-client meta data in the listener uploader.on('saved') as in the npm docs. But accessing the meta data on the client side has event.detail.data returning undefined on the client side
and it returned {foo: {}} on the client side. So I'm wondering if / how you can do async operations inside the listener and be able to return it in meta data.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi, I'm trying to set server-client meta data in the listener uploader.on('saved') as in the npm docs. But accessing the meta data on the client side has event.detail.data returning undefined on the client side
Server Code
Client Code
I tried packing the function into a object declaration on the server side as below
But it returned as undefined on client still. I tried not
await
ing the function in the listenerand it returned
{foo: {}}
on the client side. So I'm wondering if / how you can do async operations inside the listener and be able to return it in meta data.Thanks!
The text was updated successfully, but these errors were encountered: