smartuniverse/ts/smartuniverse.classes.clientuniversecache.ts
2020-09-24 18:13:48 +00:00

12 lines
389 B
TypeScript

import * as plugins from './smartuniverse.plugins';
import { ClientUniverseChannel } from './smartuniverse.classes.clientuniversechannel';
/**
* a cache for clients
* keeps track of which messages have already been received
* good for deduplication in mesh environments
*/
export class ClientUniverseCache {
public channelMap = new plugins.lik.ObjectMap<ClientUniverseChannel>();
}