cocos的回调特性如何在3.7版本的js中使用?

cocos的回调特性如何在3.7版本的js中使用?
如题

js版好像不支持回调 只有c++的支持

3.7.1会支持了
https://github.com/cocos2d/cocos2d-x/pull/12958