diff options
author | eldritch horrors <pennae@lix.systems> | 2024-09-30 01:31:29 +0200 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-10-01 11:36:45 +0000 |
commit | b0c7c1ec664415d451dcd56d2982b369c0c33892 (patch) | |
tree | 43baaf474c215e540e93863237008ee2859d10a1 /src/libstore/build/worker.hh | |
parent | d31310bf59a6a51945eb2d671585815b93f4df00 (diff) |
libstore: turn Worker::run() main loop into a promise
Change-Id: Ib112ea9a3e67d5cb3d7d0ded30bbd25c96262470
Diffstat (limited to 'src/libstore/build/worker.hh')
-rw-r--r-- | src/libstore/build/worker.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/build/worker.hh b/src/libstore/build/worker.hh index 02b98b3aa..6da76fe34 100644 --- a/src/libstore/build/worker.hh +++ b/src/libstore/build/worker.hh @@ -188,6 +188,8 @@ private: statisticsOutdated = true; } + kj::Promise<Result<void>> runImpl(); + public: const Activity act; |