a deferred
在编程中,deferred 是可数名词,是 promise(表示延迟结果的对象)的同义词;在金融领域也可指延期债券。
The function returns a deferred.
该函数返回一个延迟对象。
延迟对象
deferreds — plural of deferred
先理解核心含义,再看它在真实句子里的用法。
延迟对象
Synonym of promise (an object representing a delayed result).
The function returns a deferred.
该函数返回一个延迟对象。
计算机编程术语
promise(“表示延迟结果的对象”)的同义词。
Synonym of promise (“object representing delayed result”).
延期债券。
A deferred bond.
The JavaScript library returns a deferred that will finish once the data is ready.
这个 JavaScript 库返回一个延迟对象,它会在数据就绪后完成。
You can attach a callback to the deferred to run code after the task completes.
你可以给这个延迟对象附加一个回调函数,让代码在任务完成后运行。
This deferred will not pay any interest until the fifth year after issue.
这种延期债券在发行后的第五年之前不会支付任何利息。
在编程中,deferred 是可数名词,是 promise(表示延迟结果的对象)的同义词;在金融领域也可指延期债券。
The function returns a deferred.
该函数返回一个延迟对象。
当上文已提到某个 deferred 对象时,用定冠词 the 特指。
The deferred was resolved after the request completed.
请求完成后,这个延迟对象被解决。
deferred 的复数形式是 deferreds。
All deferreds are stored in an internal queue.
所有延迟对象都存储在内部队列中。
Not this
The function returns deferred.
Use this
The function returns a deferred.
在这个义项中 deferred 是可数名词,意为“延迟结果对象”;可数名词单数前需要加冠词 a。汉语没有冠词,所以容易漏掉,加上 a 后语法和语义都正确。
Not this
The function returns a delay.
Use this
The function returns a deferred.
汉语的“延迟”常译作 delay,但 delay 指的是时间上的耽搁;这里要表达的是表示延迟结果的对象,应使用名词 deferred。二者在编程语境中不可互换。
Focus on the distinctions below. Other candidates are kept compact until a reliable usage note is available.
创建一个延迟对象
In the code, you first create a deferred and then return its promise.
在代码中,你首先创建一个延迟对象,然后返回它的promise。
解析延迟对象
Call the callback to resolve the deferred with the final value.
调用回调以使用最终值解析延迟对象。
拒绝延迟对象
If the request fails, the function rejects the deferred.
如果请求失败,该函数会拒绝这个延迟对象。
延迟对象的promise
The function returns a deferred's promise so callers can attach handlers.
该函数返回延迟对象的promise,以便调用者可以附加处理程序。
一个被搁置的梦想会怎样?
Langston Hughes's poem asks what happens to a dream deferred, and the question still resonates today.
兰斯顿·休斯的诗问道,一个被搁置的梦想会怎样,而这个问题至今仍引起共鸣。
Use deferreds naturally, then get feedback on meaning, tone, grammar, and phrasing.
Revisit a common error or keep this word in your review list.
把 deferred 拆成 defer(延迟)+ red(红色),想象一个红色待办标签被推迟处理,结果(promise)迟迟不来。
语域:formal 常见场景:编程、金融 该名词用法比较专业,通常出现在编程(延迟对象)和金融(延期债券)等正式语境中。
该名词义特指编程中的 Promise(延迟结果对象),复数形式为 deferreds。
Dictionary facts from AI_FALLBACK, ECDICT, WIKTIONARY.