Module poll

Poll class; API for receiving values from audio system.

The norns script reference has examples for this module.

Instance Methods

start () start a poll.
stop () stop a poll.
update (callback) request a single update immediately.
__newindex (idx, val) custom setters.
__index (idx) custom getters.


Instance Methods

start ()
start a poll.
stop ()
stop a poll.
update (callback)
request a single update immediately.

Parameters:

  • callback
__newindex (idx, val)
custom setters. .time and .callback set the corresponding private properties and perform approriate actions.

Parameters:

  • idx
  • val
__index (idx)
custom getters. available properties: name, callback, start, stop.

Parameters:

  • idx
generated by LDoc 1.5.0 Last updated 2024-10-13 17:45:04