# wx.onLocalServiceLost(function callback)

Start from base library version 2.4.0. Please remaining backward compatible.

with Promise style call: Not supported

Mini Program plugin: Support, need to Mini Program base library version no less than 2.15.0

to monitor mDNS Event of service departure

# parameter

# function callback

mDNS Callback function for event of service departure

# parameter

# Object res
attribute type Introductions
serviceType string Types of Services
serviceName string Name of service