FBA:Fulfillment ByAmazon.亚马逊物流。 在这段代码中,p1的fulfillment 处理抛出了错误。 In this code, the fulfillment handler for p1 throws an error. 上述代码中,p1的fulfillment 响应函数内部创建一个新的promise。 In this example, a new promise is created within the fulfillment handler for p1. 第二次调用只监听了fulfillment ;错误不会被报告。 The second only listens for fulfillment ; errors won't be reported. 使用Fulfillment byAmazon服务的亚马逊卖家数量在2014年同比增长了65%。 The number of sellers using Fulfillment by Amazon grew more than 65% last year.
Then()被调用后最后的fulfillment 处理才会被添加。 Then() is called to add the final fulfillment handler. 因为value的值是42(由执行函数所得),所以fulfillment 函数会返回43。 Since value is 42(from the executor), the fulfillment handler returns 43. 但最重要的是亚马逊Fulfillment 和Prime会员计划的实现。 But of great importance are Fulfillment by Amazon and the Prime membership program. 这意味着第二个fulfillment 处理直到p2处于fulfilled状态之前都不会执行。 That means the second fulfillment handler won't execute until after p2 is fulfilled. 第一次的调用同时监听了fulfillment 和rejection。 The first call listens for both fulfillment and rejection. 第二次调用then()后fulfillment 处理函数只有在第一个promise完成之后被调用。 The second then() fulfillment handler is only called after the first promise has been resolved. 这里可以很明显的看到,第二个fulfillment 处理添加给了p3而不是p2。 Here, it's clear that the second fulfillment handler is attached to p3 rather than p2. FBAFulfillment Fee(执行费):亚马逊将对大多数尺寸和重量的产品调整执行费。 FBA Fulfillment Fee: Amazon will adjust the implementation fee for most sizes and weights of products. 该例中,因为p2的状态是rejected,所以第二个fulfillment 处理永远不会被调用。 In this example, the second fulfillment handler is never called because p2 is rejected. 这允许你随时添加fulfillment 和rejection处理并保证它们会被调用。 This allows you to add new fulfillment and rejection handlers at any time and guarantee that they will be called. 任何给这个promise添加的rejection处理都会被调用,而fulfillment 处理不会做任何工作。 Any additional rejection handlers added to this promise would be called, but not fulfillment handlers. 通过“AmazonFBA”或“Fulfillment byAmazon”项目,任何人都可以开设自己的亚马逊商店。 Through the“Amazon FBA” or“Fulfillment by Amazon” program, anyone can open their own Amazon storefront. 礼品卡为预付卡,而非信用卡,视作个人财产,由MIFulfillment Services,LLC公司发行。 Card is a prepaid card, not a credit card, and is property of and issued by MI Fulfillment Services, LLC. P4的fulfillment 处理会被立即调用并传入值42,其它的promise都被忽略。 The fulfillment handler for p4 is then called with the value of 42 and ignores the other promises. Promise链允许你捕获上一个promise的fulfillment 或rejection处理中的错误。 Promise chaining allows you to catch errors that may occur in a fulfillment or rejection handler from a previous promise. 因此该fulfillment 处理附着于第三个promise,使得上例等效于:. The second fulfillment handler is therefore attached to that third promise, making the previous example equivalent to this:. EBay已在德国推出两项新服务,以帮助零售商在线销售其产品:eBayFulfillment 和eBayShipping。 EBay has launched two new services in Germany to help retailers selling their products online: eBay Fulfilment and eBay Shipping. Shopify宣布推出ShopifyFulfillment Network,该网络使用机器学习来确保及时交付并降低运输成本。 Shopify said that the fulfillment network uses machine learning to achieve timely deliveries and lower shipping costs. Then()方法创建的Deferred对象的resolution状态现在被它的回调函数控制--异常成为了注入值,并且non-thenable返回的结果成为了fulfillment 值。 Then() is now controlled by its callbacks- exceptions become rejection values and non-thenable returns become fulfillment values. 这是因为fulfillment 和rejection处理总会在执行函数运行完毕后被添加到任务队列的末尾。 That's because fulfillment and rejection handlers are always added to the end of the job queue after the executor has completed. Then(func,func)同样的效果,但你必须在fulfillment 句柄及rejection句柄中重复相同的代码,或者引入一个变量:. Finally(func), but you would have to repeat the same code in both fulfillment handler and rejection handler, or declare a variable for it:. 今年6月,Shopify推出了Fulfillment Network服务,该服务表示希望能够加快交付时间并降低客户的运输成本。 In June, Shopify launched its Fulfillment Network service, which it said it hopes will speed up delivery times and lower shipping costs for its customers. 在2004年,它整合为theTargetedRedirectsandFinancialFulfillment InternetConference,或者简写为T.R.A.F.F.I.C.。 In 2004 it became the Targeted Redirects and Financial Fulfillment Internet Conference, or T.R.A.F.F.I.C., for short. 需要注意的是,第二个fulfillment 响应函数的归属对象并不是p2,而是第三个promise。 The important thing to recognize about this pattern is that the second fulfillment handler is not added to p2, but rather to a third promise.我们将这一方法称之为“成就感满意度”(Fulfillment Satisfaction,或简称为“成就感”),以使其与对满意度的传统定义(即满意就是感到舒适)区分开来。 We call our approach"Fulfillment Satisfaction"(or just"fulfillment ") to differentiate it from the traditional definition of satisfaction(that is, satisfaction as being comfortable).
展示更多例子
结果: 53 ,
时间: 0.0199
English
Bahasa indonesia
日本語
عربى
Български
বাংলা
Český
Dansk
Deutsch
Ελληνικά
Español
Suomi
Français
עִברִית
हिंदी
Hrvatski
Magyar
Italiano
Қазақ
한국어
മലയാളം
मराठी
Bahasa malay
Nederlands
Norsk
Polski
Português
Română
Русский
Slovenský
Slovenski
Српски
Svenska
தமிழ்
తెలుగు
ไทย
Tagalog
Turkce
Українська
اردو
Tiếng việt