The straw that breaks the camel's back. A function which resolve a promise after getting called n times.