SnapshotSubscription

constructor(context: String, models: Collection<AggregateModel<*>>, store: SnapshotStore, kernel: Kernel, log: EventLog, codec: EventCodec = EventCodec(), views: SharedStates? = null, capacity: Int = SharedStateOptions.DEFAULT_CAPACITY, name: String = SystemSubscriptions.SNAPSHOT, answers: (AggregateType) -> Set<String> = { OWN_AND_QUERIED }, active: (AggregateType) -> Boolean = { true }, writeBatch: Int = SnapshotOptions.DEFAULT_WRITE_BATCH, writesInFlight: Int? = null, gate: ReplayGate = ReplayGate.OPEN)