Software /
code /
prosody
Comparison
util/async.lua @ 8684:801f253ef52d
util.async: Remove last trace of async.once [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 23 Mar 2018 20:57:34 +0100 |
parent | 8683:867ac771fb6e |
child | 8685:2548111e71d6 |
comparison
equal
deleted
inserted
replaced
8683:867ac771fb6e | 8684:801f253ef52d |
---|---|
231 timer.add_task(s, done); | 231 timer.add_task(s, done); |
232 wait(); | 232 wait(); |
233 end | 233 end |
234 | 234 |
235 return { | 235 return { |
236 once = once; | |
237 ready = ready; | 236 ready = ready; |
238 waiter = waiter; | 237 waiter = waiter; |
239 guarder = guarder; | 238 guarder = guarder; |
240 runner = runner; | 239 runner = runner; |
241 sleep = sleep; | 240 sleep = sleep; |