Exemple #1
0
        public void Handle(CoreProjectionManagementMessage.Kill message)
        {
            var command = new KillCommand {
                Id = message.ProjectionId.ToString("N")
            };

            _commandWriter.PublishResponse("$kill", message.WorkerId, command);
        }
Exemple #2
0
        public void Handle(CoreProjectionManagementMessage.Kill message)
        {
            var projection = _projections[message.ProjectionId];

            projection.Kill();
        }