Added command and state work flow implementation, all tests green. Enjoy !!
https://github.com/doublefx/easyWorker Frédéric THOMAS > From: webdoubl...@hotmail.com > To: users@flex.apache.org > 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: joaopedromartinsfernan...@gmail.com > > Date: Tue, 17 Jun 2014 12:05:57 +0100 > > Subject: Re: [OT] easyWorker > > To: users@flex.apache.org > > > > 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 <webdoubl...@hotmail.com> 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 >