More demo: web, desktop and mobile for Flex/AIR and pure AS3 project, The last ones :
https://github.com/doublefx/easyWorker/tree/master/moreFlexDemo/downloadFileThread-Demo A thread based implementation of a simple tool to download / copy files running in a Thread, with persistent pause / resume capabilities and automatic re-download if the file has changed on the server after a long pause. https://github.com/doublefx/easyWorker/tree/master/moreFlexDemo/BankAccount Simple Thread based application to demonstrate how to manage concurrent access to the same data https://github.com/doublefx/easyWorker/tree/PureAS3/moreAS3Demo/MP3Worker Thread based implementation of the original MP3Worker. http://gotoandlearn.com/play.php?id=169 It runs a WAV->MP3 converter in a Thread Enjoy !! Frédéric THOMAS > From: [email protected] > To: [email protected] > Subject: RE: [OT] easyWorker > Date: Fri, 20 Jun 2014 18:11:30 +0100 > > 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 > > > > > >
