def trigger_events(self, events, loop):
for event in events:<EOL><INDENT>result = event(loop)<EOL>if isawaitable(result):<EOL><INDENT>loop.run_until_complete(result)<EOL><DEDENT><DEDENT>
Trigger event callbacks (functions or async)

        :param events: one or more sync or async functions to execute
        :param loop: event loop