Open yanghl opened 3 years ago
@objc func testAsyn( _ arg:String, block: (String, Bool)->Void) { block(String(format:"%@[Swift async call:%@]", arg, "test"), true) }
@objc func testAsyn( _ arg:String, handler: (String, Bool)->Void) { handler(String(format:"%@[Swift async call:%@]", arg, "test"), true) }
比如这种情况 第二个函数js永远无法调用成功了
@objc func testAsyn( _ arg:String, block: (String, Bool)->Void) { block(String(format:"%@[Swift async call:%@]", arg, "test"), true) }
@objc func testAsyn( _ arg:String, handler: (String, Bool)->Void) { handler(String(format:"%@[Swift async call:%@]", arg, "test"), true) }
比如这种情况 第二个函数js永远无法调用成功了