]> Sergey Matveev's repositories - public-inbox.git/commit
lei: simplify common LeiInput users with ->wq1_start
authorEric Wong <e@80x24.org>
Tue, 2 Nov 2021 18:14:44 +0000 (18:14 +0000)
committerEric Wong <e@80x24.org>
Tue, 2 Nov 2021 19:06:51 +0000 (19:06 +0000)
commit0054246c2d03fcc91bc899da5ef41a68f505e542
treebaef8664897ebca298398be291a0f45eff8e3c61
parent85d75a409a15a3b114299838e30ad608c799c7e5
lei: simplify common LeiInput users with ->wq1_start

This method replaces a common pattern of starting workers,
preparing internal auth ops, and asynchronous waiting of
command completion.

It also adds missing LeiAuth support to rediff and rm
which rarely need auth.
12 files changed:
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiExportKw.pm
lib/PublicInbox/LeiForgetSearch.pm
lib/PublicInbox/LeiImport.pm
lib/PublicInbox/LeiLsMailSource.pm
lib/PublicInbox/LeiMailDiff.pm
lib/PublicInbox/LeiP2q.pm
lib/PublicInbox/LeiRediff.pm
lib/PublicInbox/LeiRefreshMailSync.pm
lib/PublicInbox/LeiRm.pm
lib/PublicInbox/LeiTag.pm
lib/PublicInbox/LeiUp.pm