Page MenuHomePhabricator

[lib][native][web] Move DispatchActionPromise to a separate file
ClosedPublic

Authored by ashoat on Jan 10 2024, 5:49 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 25, 6:46 AM
Unknown Object (File)
Wed, Dec 25, 6:46 AM
Unknown Object (File)
Wed, Dec 25, 6:46 AM
Unknown Object (File)
Wed, Dec 25, 6:46 AM
Unknown Object (File)
Wed, Dec 25, 6:45 AM
Unknown Object (File)
Wed, Dec 25, 6:45 AM
Unknown Object (File)
Wed, Dec 25, 6:45 AM
Unknown Object (File)
Wed, Dec 25, 6:45 AM
Subscribers
None

Details

Summary

As part of the continued separation of action-utils.js into multiple files, in this diff I move DispatchActionPromise and friends to lib/utils/redux-promise-utils.js. I decided not to put the file into lib/keyserver-conn because it's not really keyserver-specific.

Test Plan

Flow

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

lib/utils/action-utils.js
137โ€“140 โ†—(On Diff #35482)

This diff is a pure move, with the exception of the exported type DispatchFunctions. This type is not used anywhere in the codebase, so I decided to simply delete it instead of moving

This revision is now accepted and ready to land.Jan 11 2024, 2:11 AM