async def emit(self, name):
        """
        Add a callback to the event named 'name'.
        Returns this object for chained 'on' calls.
        """
        for cb in self._event_list[name]:
            if isawaitable(cb):
                await cb
            else:
                cb()