Page MenuHomePhabricator

[lib] Resolve the promise after processing is done
AbandonedPublicDraft

Authored by tomek on Mar 21 2024, 8:31 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 12:49 PM
Unknown Object (File)
Thu, Apr 25, 12:48 PM
Unknown Object (File)
Mon, Apr 8, 11:54 AM
Unknown Object (File)
Sun, Mar 31, 4:12 AM
Unknown Object (File)
Sun, Mar 31, 12:56 AM
Unknown Object (File)
Mar 28 2024, 4:00 PM
Unknown Object (File)
Mar 28 2024, 3:17 PM
Unknown Object (File)
Mar 27 2024, 6:11 PM
Subscribers

Details

Reviewers
kamil
inka
will
Summary

Maintain the mapping between actions and promises and resolve after the processing is done.

https://linear.app/comm/issue/ENG-7108/resolve-the-promise-after-ops-processing

Depends on D11369

Test Plan

Modify one dispatch, which dispatches draft update action. Add a sleep to DB processing code. Check if the promise is resolved after the timeout.

Diff Detail

Repository
rCOMM Comm
Branch
ops
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Mar 21 2024, 8:42 AM
Harbormaster failed remote builds in B27651: Diff 38272!

In the new approach, we no longer need this.