Subscribe to global counter changes

Right now, we can increment global counters. These counters are available across all servers.

Currently, there’s no way to know when a counter updates. For example, if someone on Server A collects a coin, Server B doesn’t know this has happened. We would have to poll the counter.

An api that allowed you to subscribe to counters would be useful. For example

GameStorage.SubscribeToCounter(string counterName, function callback)

Every time a counter is updated, it would call all of registered callbacks.