Created defer_consent module

This commit is contained in:
Nathan Schneider
2021-12-22 22:22:17 -07:00
parent fa50a59938
commit 44c3e41b81
7 changed files with 65 additions and 8 deletions

View File

@ -43,10 +43,11 @@ function module_template:initiate(result)
-- call interaction functions here!
-- concluding functions:
-- call these wherever process might end;
-- may need to put result in self.data.result
-- if process ends in another function
-- call this when module is successful (not for abort):
if result then result() end
-- call this wherever process might end:
self.org:delete_process(self.id)
end