From: Felipe Contreras Date: Wed, 02 Jun 2021 01:00:28 GMT Subject: RE: [PATCH 21/31] hook: provide stdin by string_list or callback Message-ID: <60b6d82c6982c_4abd208e1@natae.notmuch> In-Reply-To: Ævar Arnfjörð Bjarmason wrote: > From: Emily Shaffer > > In cases where a hook requires only a small amount of information via > stdin, it should be simple for users to provide a string_list alone. But > in more complicated cases where the stdin is too large to hold in > memory, > let's provide a callback the users can populate line after line > with instead. let's instead provide a callback the users can populate line after line. -- Felipe Contreras