jhunters / bigqueue

Golang implements for BigQueue
Apache License 2.0
57 stars 23 forks source link

Subscribe feature support for dequeue #1

Closed jhunters closed 4 years ago

jhunters commented 4 years ago

Demostration as follow:

err := queue.Subscribe(func (index int64, data []byte, err error) { // handle data }) if err != nil { // warning the error }