]> source.dussan.org Git - gitea.git/commit
archiver: setup infrastructure for notifying consumers of completion
authorKyle Evans <kevans@FreeBSD.org>
Wed, 6 May 2020 03:36:07 +0000 (22:36 -0500)
committerKyle Evans <kevans@FreeBSD.org>
Wed, 6 May 2020 03:49:34 +0000 (22:49 -0500)
commitd134c3f3cee164cf641cb1b372afdb20496dbcf0
tree5908d916d6ad948c4d24f24ce7ffdfd3fbb3c255
parenteb15781d983325301d04720f4f70cd5cd0151cbb
archiver: setup infrastructure for notifying consumers of completion

This API will *not* allow consumers to subscribe to specific requests being
completed, just *any* request being completed. The caller is responsible for
determining if their request is satisfied and waiting again if needed.
routers/init.go
services/archiver/archiver.go