Software /
code /
prosody
Diff
util/async.lua @ 7725:f928695a2af1
util.async: Add annotation to ignore warning [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 19 Nov 2016 01:11:28 +0100 |
parent | 7724:20a69ef5570c |
child | 8237:f81cd9aaf994 |
line wrap: on
line diff
--- a/util/async.lua Sat Nov 19 01:11:53 2016 +0100 +++ b/util/async.lua Sat Nov 19 01:11:28 2016 +0100 @@ -85,7 +85,7 @@ runner_mt.__index = runner_mt; local function runner_create_thread(func, self) - local thread = coroutine.create(function (self) + local thread = coroutine.create(function (self) -- luacheck: ignore 432/self while true do func(coroutine.yield("ready", self)); end