[SERVER-38184] Add a onContinuation() for Future which is called for success and error paths Created: 16/Nov/18 Updated: 29/Oct/23 Resolved: 06/Dec/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.7 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Mira Carey | Assignee: | Mira Carey |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Service Arch 2018-12-03, Service Arch 2018-12-17 |
| Participants: |
| Description |
|
Sometimes it's useful to have a callback which is called for success and error paths (see getAsync and tapAll). Providing a method for doing that in continuation should be a natural extension. |
| Comments |
| Comment by Githook User [ 06/Dec/18 ] |
|
Author: {'name': 'Jason Carey', 'email': 'jcarey@argv.me', 'username': 'hanumantmk'}Message: a then() style callback that also covers the error case |