I would like to perform a custom command at spesific time intervals, but it doesn't seem like Lua support this type of operation. Would it make sense to add support for this in the vis editor, perhaps extend the Lua API?
Example API:
Vis:time(ms) fire a TIME event in a given time, which you could subscribe to:
vis.events.subscribe(vis.events.TIME, function(id)
-- do something useful
return true
end)
I would like to perform a custom command at spesific time intervals, but it doesn't seem like Lua support this type of operation. Would it make sense to add support for this in the
vis
editor, perhaps extend the Lua API?Example API:
Vis:time(ms)
fire aTIME
event in a given time, which you could subscribe to: