配置加载成功后才启动某些任务

This commit is contained in:
刘祥超
2021-09-16 15:58:10 +08:00
parent dd41d88647
commit 7b8ef8e85b
5 changed files with 10 additions and 10 deletions

View File

@@ -15,7 +15,7 @@ import (
var SharedValueQueue = NewValueQueue()
func init() {
events.On(events.EventStart, func() {
events.On(events.EventLoaded, func() {
go SharedValueQueue.Start()
})
}