postmate icon indicating copy to clipboard operation
postmate copied to clipboard

Call return value

Open bigfacewo opened this issue 3 years ago • 0 comments

relate https://github.com/dollarshaveclub/postmate/pull/20.

can i do this:

postmate.call('functionName', data).then(value => {

})

If you do, the get and call APIs can be merged into call.

In some cases, I really need to execute the next call after the last call is finished. Is there any other good way to use it?

bigfacewo avatar Jul 14 '21 09:07 bigfacewo