mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-04-15 01:41:56 +00:00
some initial work on a builtin build runner
This commit is contained in:
@@ -19,12 +19,6 @@ type Queue interface {
|
||||
// if the subscribing client terminates its connection.
|
||||
PullClose(CloseNotifier) *Work
|
||||
|
||||
// PullAck retrieves and removes the head of this queue, waiting
|
||||
// if necessary until work becomes available. Items pull from the
|
||||
// queue that aren't acknowledged will be pushed back to the queue
|
||||
// again when the default acknowledgement deadline is reached.
|
||||
PullAck() *Work
|
||||
|
||||
// Ack acknowledges an item in the queue was processed.
|
||||
Ack(*Work) error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user