EventSourcePublisher constructor
EventSourcePublisher({})
Implementation
EventSourcePublisher({
int cacheCapacity = 0,
bool comparableIds = false,
bool enableLogging = true,
}) {
if (cacheCapacity > 0) {
_cache = new EventCache(cacheCapacity: cacheCapacity);
}
if (enableLogging) {
logger = new log.Logger("EventSourceServer");
}
}