dispatch

Posted 2 months ago by davy_yg

What is dispatch for in Javascript?

for example:

 if(!tokenFromStorage){
          reject();  
        }
        dispatch(authSetToken(tokenfromStorage));
        resolve(tokenFromStorage);

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.