# wmpf.Channel.invokeSync(Object object)

Synchronizing Trigger Third Party App Service instruction

# parameter

# Object object

attribute type Default value Required Introductions
command string yes Mini Program through wmpf Transmitted to third parties app The instruction name of the
data Object no 初始值 wmpf Transmitted to third parties app Instruction parameters of the

# object.success callback

# parameter

# Object res

attribute type Introductions
data string third party app through wmpf The call passed to the Mini Program returns the result

# sample code

try {
  const res = wmpf.Channel.invokeSync({
    command: 'test'
  })
  console.log(res.data)
} catch (and) {}