触发数据

This commit is contained in:
eson 2023-11-13 22:59:27 +08:00
parent 787815b64e
commit 1713387f6d

View File

@ -21,7 +21,7 @@ var shardID uint64 = 128
// 出队的逻辑注册触发函数, 当 // 出队的逻辑注册触发函数, 当
var DequeueHandler = triggered.RegisterExecute(func(params *triggered.Params[bool]) { var DequeueHandler = triggered.RegisterExecute(func(params *triggered.Params[bool]) {
log.Println("DequeueHandler 触发数据")
params.Shared.Value(func(v any) { params.Shared.Value(func(v any) {
cs := stateClient.GetNoOPSession() cs := stateClient.GetNoOPSession()