AsyncAutoResetEventSetAll 方法
解除阻塞所有当前等待的等待者。
命名空间: TouchSocket.Core程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:4.1.4.7+7f7e1f78093c99347956e09330d5d7aca1d2bdf2
member SetAll : unit -> unit
此方法会唤醒队列中的所有等待者,与标准的自动重置事件语义不同。
通常用于需要同时唤醒所有等待者的特殊场景,如应用程序关闭时的清理操作。