- 11.2 Batching and caching with callbacks: Implement batching and caching for the
totalSalesAPI examples using only callbacks, streams, and events (without using promises or async/await). Hint: Pay attention to Zalgo when returning cached values!
- 11.3 Deep async cancelable: Extend the
createAsyncCancelable()function so that it's possible to invoke other cancelable functions from within the main cancelable function. Canceling the main operation should also cancel all nested operations. Hint: Allow to
yieldthe result of an
asyncCancelable()from within the generator function.
- 11.4 Compute farm: Create an HTTP server with a
POSTendpoint that receives...