Allow now your Runnable to intercept calls from the IThread methods pause(), 
resume() and terminate(). 

Enjoy !!

Frédéric THOMAS

> From: [email protected]
> To: [email protected]
> Subject: RE: [OT] easyWorker
> Date: Fri, 20 Jun 2014 16:09:00 +0100
> 
> Added command and state work flow implementation, all tests green.
> 
> Enjoy !!
> 
> https://github.com/doublefx/easyWorker
> 
> Frédéric THOMAS
> 
> > From: [email protected]
> > To: [email protected]
> > Subject: RE: [OT] easyWorker
> > Date: Tue, 17 Jun 2014 12:39:57 +0100
> > 
> > Hi João,
> > 
> > It means that most (if not all) of the classes used by the Runnable will be 
> > detected and included in the in-memory worker and be registered by alias 
> > automatically, the extraDependencies argument takes a Vector.<ClassAlias>, 
> > those classes will be injected in the in-memory worker with those detected, 
> > I'm working on a way to detect better what should be registered or not.
> > Those classes are taken from the passed LoaderInfo / ApplicationDomain to 
> > the Thread constructor, if nothing is passed, the default is 
> > FlexGlobals.topLevelApplication.loaderInfo and 
> > ApplicationDomain.currentDomain.
> > 
> > Thanks,
> > Frédéric THOMAS
> > 
> > > From: [email protected]
> > > Date: Tue, 17 Jun 2014 12:05:57 +0100
> > > Subject: Re: [OT] easyWorker
> > > To: [email protected]
> > > 
> > > Great work Fréderic!
> > > 
> > > Just a question, the example on external dependencies means that our 
> > > worker
> > > isn't required to be compiled with those class definitions and the thread
> > > will take care of registering all dependencies before executing, did I get
> > > it right?
> > > 
> > > 
> > > On 17 June 2014 10:11, Frédéric THOMAS <[email protected]> wrote:
> > > 
> > > > Hi,
> > > >
> > > > I just share this experiment, easyWorker: A Flex / Air lib to easily use
> > > > Worker (Thread and Runnable).
> > > >
> > > > https://github.com/doublefx/easyWorker
> > > >
> > > > Frédéric THOMAS
> > > 
> > > 
> > > 
> > > 
> > > -- 
> > > 
> > > João Fernandes
> >                                       
>                                         
                                          

Reply via email to