mirror of
https://github.com/livekit/livekit.git
synced 2026-04-01 02:15:39 +00:00
It is possible that state of underlying object has changed between event posting and event processing. So, cache data synchronously and use it during event processing. This is still not perfect as things like `hidden` and `IsClosed` is accessed in worker. Ideally, it can be a snapshot of current state of all required values that can be posted to the worker and the worker just operates with data.