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
But this is client. How about within action code? I want to save the action_id ro db to show its status only for a particular user.
module.exports=async(req,res)=>{const{ input, action }=req.body// can access action description: name, but why not id?const{ name }=inputtry{constresp=awaitheavyRequest(name)res.send({success: resp.data.success})}catch(err){res.status(400).json({message: err.message})}}
The only workaround I found is to Proxy asynchronous action with synchronous action. Isn't it overhead.
The text was updated successfully, but these errors were encountered:
Discussed in #8750
Originally posted by talgat-ruby August 5, 2022
Hi
For example, lets say I have async action
someAsyncAction
. I can accessaction_id
in the client via graphql.But this is client. How about within action code? I want to save the
action_id
ro db to show its status only for a particular user.The only workaround I found is to Proxy asynchronous action with synchronous action. Isn't it overhead.
The text was updated successfully, but these errors were encountered: