mirror of
https://github.com/xxjwxc/public.git
synced 2025-10-05 07:46:51 +08:00
new
This commit is contained in:
@@ -151,6 +151,11 @@ func (q *MyQueue) Close() {
|
||||
}
|
||||
}
|
||||
|
||||
// IsClose check is closed
|
||||
func (q *MyQueue) IsClose() bool {
|
||||
return q.closed
|
||||
}
|
||||
|
||||
//Wait 等待队列消费完成
|
||||
func (q *MyQueue) Wait() {
|
||||
for {
|
||||
|
Reference in New Issue
Block a user