As far as I can tell JavaScript engines are inheritly single threaded.
Maybe simulate threads on your own using IncrementalCommand
https://developers.google.com/web-toolkit/doc/latest/DevGuideCodingBasicsDelayed#incremental
 .

Don't know if it is worth the effort though.


On Fri, Nov 23, 2012 at 5:02 PM, Alp Yilancioglu <[email protected]>wrote:

> Hi,
>  i am using comet to push data from server to client, ( sending and
> recieving in intervals of 30 sec )
> when something is up, threads are raised on server side ( pushes the data
> to client immediatly )
> in this life cycle, i want to get the pushed data parallelly recieved  at
> the client side,
> unfortunetly even if i create a ScheduledCommand at runtime(  with dynamic
> parameters ) by using it in a class ( like a java thread constructor ).
>
> GWT behaves; like
>        The first pushed data recived in the callback function --> callback
>  function fully processes  the data ( passes it to a Dynamic
> ScheduledCommand for parsing it),
>          than ( when the callback has finished )  the scheduledcommand
> executes
>    during all this process the next pushed data  waits for this cycle to
> end.. ( even  if i used a  dynamicly created  ScheduledCommand during
> runtime )
>
> what should i do to Recieve data  in a parallel way  ?
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/SGmnuj2L-MEJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to