adding class version of join org module

This commit is contained in:
Luke Miller
2021-11-22 16:49:03 -05:00
parent 0ca04294b7
commit db43df6ce2
4 changed files with 42 additions and 10 deletions

View File

@@ -7,4 +7,11 @@ test_org:add_member('nathan')
print(table.concat(test_org:list_members(), ", "))
modpol.modules.join_org.initiate("paul", test_org, function () print("callback") end)
function completion()
print("completed")
end
-- modpol.modules.join_org.initiate("paul", test_org, completion)
process = modpol.modules.join_org_class.create("paul", test_org)
process:initiate(completion)