fix: avoid reconnecting to dependencies after cleanup (#14)

* fix: cancel reconnection when unsubscribing

* test: remove print

* feat: allow factory to return nil

* perf: use `next` iteration
This commit is contained in:
richard 2024-07-10 15:13:36 -07:00 • committed by GitHub
parent 62be3e496d
commit c6762a6525
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 87 additions and 63 deletions

View file

@ -18,7 +18,7 @@ return function()
nested_atom = { value = atom(0), expected = false },
}
for key, case in cases do
for key, case in next, cases do
local success, result = pcall(function()
validate(case.value, key)
end)