Page MenuHomePhabricator

[keyserver][lib] handleAsyncPromise -> ignorePromiseRejections
ClosedPublic

Authored by ashoat on Dec 4 2023, 1:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 19, 4:03 PM
Unknown Object (File)
Sat, Apr 19, 1:37 PM
Unknown Object (File)
Sat, Apr 19, 6:42 AM
Unknown Object (File)
Fri, Apr 18, 8:01 AM
Unknown Object (File)
Mon, Apr 14, 5:36 AM
Unknown Object (File)
Wed, Apr 9, 12:36 AM
Unknown Object (File)
Tue, Apr 8, 8:31 PM
Unknown Object (File)
Mon, Mar 24, 6:42 AM
Subscribers

Details

Summary

As part of enabling the unused-promise Flow lint (ENG-5907), I want to make two changes to this function:

  1. Renaming it to ignorePromiseRejections. I think this captures what it does much better.
  2. Move it to lib. The Lint exposed some issues in lib utilities that we use from keyserver, and to fix those we'll want access to ignorePromiseRejections from lib.
Test Plan

Flow

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable