davidgranstrom / losc

Open Sound Control (OSC) for lua/luajit
MIT License
20 stars 2 forks source link

High-level plugin api is incompatible with non-blocking plugins #32

Open halee88 opened 11 months ago

halee88 commented 11 months ago

I attempted to adapt the udp-socket.lua plugin to be non-blocking, but the high-level API doesn't provide enough functions to support this.

I recommend adding a poll() function to the high-level api to allow a callers to choose when and how often to poll for the next osc message

davidgranstrom commented 11 months ago

Yes, sounds like a good addition to the API!