This commit is contained in:
cdle
2021-10-11 17:20:44 +08:00
parent 6b2419d2e4
commit a578f4524d
+1
View File
@@ -247,6 +247,7 @@ func (sender *BaseSender) Await(callback func(string, error) interface{}, params
if oc, ok := waits.LoadOrStore(key, c); ok {
oc.(Carry).Chan <- InterruptError
}
fmt.Println(waits.LoadOrStore(key, c))
select {
case result := <-c.Chan:
switch result.(type) {