我所看到的,大多数绑定使用“拉”策略来更新项目状态,例如 exec 绑定:
in: exec="<[<commandLine to execute>:<refreshintervalinmilliseconds>:(<transformationrule>)]"
或 HTTP 绑定:
in: http:"<[<url>:<refreshintervalinmilliseconds>:<transformationrule>]"
更新基于刷新间隔。但是,如果我需要立即从外部系统(bash 脚本或其他网络设备)“推送”一个事件怎么办?