smartuniverse/ts/smartuniverse.classes.clientuniversecache.ts

12 lines
389 B
TypeScript
Raw Normal View History

2019-04-28 10:42:08 +00:00
import * as plugins from './smartuniverse.plugins';
2019-08-13 13:48:20 +00:00
import { ClientUniverseChannel } from './smartuniverse.classes.clientuniversechannel';
2019-04-28 10:42:08 +00:00
/**
* a cache for clients
2019-04-30 17:16:03 +00:00
* keeps track of which messages have already been received
* good for deduplication in mesh environments
2019-04-28 10:42:08 +00:00
*/
2019-08-13 13:48:20 +00:00
export class ClientUniverseCache {
2020-09-24 18:13:48 +00:00
public channelMap = new plugins.lik.ObjectMap<ClientUniverseChannel>();
2019-08-13 13:48:20 +00:00
}