local function f(a) local thread = coroutine.running() ngx.say("status:",coroutine.status(thread)) ngx.say("1") coroutine.yield() ngx.say("2") coroutine.yield() end
local function ff(a) ngx.say("ff:",a) end
local curr = coroutine.create(f) ngx.say("return type(create()):",type(curr))