smartuniverse/ts/smartuniverse.classes.clientuniversecache.ts
2019-08-13 15:48:20 +02: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>();
}