THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened. Details are below. User who did this - Uli Schlachter (psychon)
Attached to Project - awesome
Summary - Remove timer objects
Task Type - Bug Report
Category - Core
Status - New
Assigned To - Operating System - All
Severity - Low
Priority - Normal
Reported Version - git/master
Due in Version - 4.0
Due Date - Undecided
Details - Thanks to FS#985, we can now use Glib in lua. This means that glib 
timeouts can be used and timer objects are no longer necessary. I bet everyone 
will love us for removing them. :-P

   local glib = require("lgi").GLib
   local count = 0
   glib.timeout_add_seconds(glib.PRIORITY_DEFAULT, 1, function()
       print(count)
       count = count + 1
       return count < 60
   end)

(If this returns false, the timeout is removed)

More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=details&task_id=1054

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Reply via email to