Search results for "module:CPS::Governor"
CPS::Governor - control the iteration of the CPS functions
Objects based on this abstract class are used by the "gk*" variants of the CPS functions, to control their behavior. These objects are expected to provide a method, "again", which the functions will use to re-invoke iterations of loops, and so on. By...
PEVANS/CPS-0.19 - 20 May 2019 10:35:18 UTC
CPS::Governor::Simple - iterate immediately as fast as possible
This CPS::Governor allows the functions using it to run as fast as possible. It invokes its continuations immediately using a tailcall, so as not to let the stack grow arbitrarily. Its constructor takes no special arguments, and it provides no other ...
PEVANS/CPS-0.19 - 20 May 2019 10:35:18 UTC
CPS::Governor::IOAsync - use IO::Async with CPS
This CPS::Governor allows functions using it to defer their re-execution by using the IO::Async::Loop "later" method, meaning it will interleave with other IO operations performed by "IO::Async"....
PEVANS/CPS-Governor-IOAsync-0.02 - 21 Dec 2009 23:41:10 UTC
CPS::Governor::Deferred - iterate at some later point
This CPS::Governor allows the functions using it to delay their iteration until some later point when the containing program invokes it. This allows two main advantages: * CPU-intensive operations may be split apart and mixed with other IO operations...
PEVANS/CPS-0.19 - 20 May 2019 10:35:18 UTC