Skip to content

Coroutine manager does not resume all routines if stressed #1

@Ale32bit

Description

@Ale32bit
local node = require("node")
a = 0
node.setInterval(print, 1, a) -- print a each second

for i = 1, 100 do -- create new timeouts
	node.setTimeout(function()
		a = a + 1 -- add 1 to a
	end, 3) -- trigger after 3 seconds
end
node.init()

print(a)

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp neededHelp is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions