Re: [code] [textadept] Periodic updatse for modules

From: Simon Lundmark <simon.att.pixeldiet.se>
Date: Fri, 30 Jan 2015 15:14:20 +0100

Hey,

That does exactly what I want! Many thanks!

Cheers,
Simon

On Fri, Jan 30, 2015 at 10:39 AM, Chris Emerson <c-ta.att.mail.nosreme.org>
wrote:

> Hi,
>
> On Fri, Jan 30, 2015 at 10:25:18AM +0100, Simon Lundmark wrote:
> > I was wondering if it is possible or could be added that modules can
> > subscribe to an event that are periodically updated? Like a 20hz
> > update-function or similar.
>
> There's a timeout() function which calls a function at regular intervals.
> (Though I've just noticed it isn't yet implemented in the curses version).
> Alternatively, you may be able to use spawn with a process which writes
> to its stdout regularly.
>
> Chris
> --
> You are subscribed to code.att.foicica.com.
> To change subscription settings, send an e-mail to code+help.att.foicica.com.
> To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
>
>

-- 
*Simon Lundmark*
*CEO*
*Pixeldiet Entertainment AB*
+46(0)761620695
simon.att.pixeldiet.se
-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Fri 30 Jan 2015 - 09:14:20 EST

This archive was generated by hypermail 2.2.0 : Sat 31 Jan 2015 - 06:48:23 EST