mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-11 23:04:52 +09:00
EventSubscriber registers with the control's onAccountUpdate when it has one and resends its subscription through handleAccountEvent. A lost permission makes the request fail, a granted one syncs it again. The web Control also reports the account on connect, so resends are queued and sent once per tick. A failed subscription request now sets synced to false and notifies callbacks, before the error never reached the UI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Common Library for Clusterio
This package contains functionality shared between controller, host, ctl and/or plugins of Clusterio.
See the Clusterio repository for more information on Clusterio.