functional test of call_module and new pending action/interact version
This commit is contained in:
@@ -7,11 +7,9 @@ test_org:add_member('nathan')
|
||||
|
||||
print(table.concat(test_org:list_members(), ", "))
|
||||
|
||||
function completion()
|
||||
print("completed")
|
||||
end
|
||||
-- modpol.modules.join_org.initiate("paul", test_org)
|
||||
|
||||
modpol.modules.join_org.initiate("paul", test_org, completion)
|
||||
|
||||
-- process = modpol.modules.join_org_class.create("paul", test_org)
|
||||
-- process:initiate(completion)
|
||||
test_org:call_module(
|
||||
"join_org_class",
|
||||
"paul"
|
||||
)
|
||||
Reference in New Issue
Block a user