# EventChannel.once(string eventName, function fn)

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

with Promise style call: Not supported

Mini Program plugin: Support

Monitor an event once, trigger and fail

# parameter

# string eventName

Event Name

# function fn

Event listener function

# parameter

# any args

Trigger event parameter