Added animation for the transitions and functionality to the UI so that it can support D-Crank in manual and auto mode

@davidfowl @moozzyk @abnanda1 
That is the way I was going to try to fix that race condition rather than reworking the worker logic. If you think we should go about it another way, let me know.

From: David Fowler [mailto:notifications@github.com]
Sent: Monday, August 4, 2014 8:33 AM
To: SignalR/DCrank
Cc: Felicco Toney
Subject: Re: [DCrank] Added animation for the transitions and functionality to the UI so that it can support D-Crank in manual and auto mode (#34)


In src/Microsoft.AspNet.SignalR.DCrank.TestController/Angular/AngularController.js:

> @@ -28,14 +28,14 @@ angularModule.service('signalRSvc', function ($rootScope) {

>          });

>

>          this.proxy.on('workersLog', function (agentId, workerId, message) {

> -            $rootScope.$emit('workersLog', agentId, workerId, message);

> +            setTimeout($rootScope.$emit('workersLog', agentId, workerId, message), 1000);

Why is there a setTimeout? Is this how we fixed the timing issue where "worker connected" gets logged?

—
Reply to this email directly or view it on GitHub<https://github.com/SignalR/DCrank/pull/34/files#r15761593>.