def remote_event(self, event, msg):
        nodes = self.events[event]
        defers = []
        
        from twisted.internet import reactor
        
        for n in nodes:
            d = defer.Deferred()
            reactor.callLater(0, self.eventloop, n, event, msg, d)

            # if more nodes to come, do DeferredList instead
            if len(nodes):
                defers.append(d)
                

        del nodes
        if len(defers) > 1:
            return defer.DeferredList(defers)
        else:
            d = defers.pop()
            return d
Do scheduling of event delivering through reactor
dataset/ETHPy150Open selfsk/nodeset.core/src/nodeset/core/node.py/NodeCollection.remote_event