好词典

callback

UK //ˈkɔːlbæk//US //ˈkɔːlbæk//

词源

源自英语 'call'(呼叫)和 'back'(回),组合表示“回电”或“回调”的意思。

noun

❶ 回调,指在计算机编程中,将函数作为参数传递给另一个函数,并在特定事件发生后执行该函数的过程。

“The API requires a callback function to handle the response.”

(该API需要一个回调函数来处理响应。)

“You can register a callback to be notified when the task is completed.”

(你可以注册一个回调函数,以便在任务完成时收到通知。)

❶ 回电,指某人回电话给之前联系过的人。

“I left a message, but I'm still waiting for his callback.”

(我留了言,但还在等他的回电。)

“The receptionist promised a callback within an hour.”

(前台承诺一小时内回电。)

同义词:return call, follow-up, response

verb

❶ 回电话,指给之前联系过的人打电话。

“He promised to callback after the meeting.”

(他承诺会议结束后回电话。)

“I'll callback as soon as I get more information.”

(我一有更多信息就会回电话。)

同义词:ring back, return a call

常见短语

callback function — 回调函数,编程中用于在特定事件发生后执行的函数。

“The callback function processes the data once it's received.”

(回调函数在接收到数据后对其进行处理。)

request a callback — 请求回电,通常用于客服或业务场景中,要求对方回电话。

“You can request a callback by filling out the form on our website.”

(您可以通过填写我们网站上的表格请求回电。)