code: def send(self, request, socket, context, *args):
          
          for handler, pattern in self.handlers:
              no_channel = not pattern and not socket.channels
              if self.name.endswith("subscribe") and pattern:
                  matches = [pattern.match(args[0])]
              else:
                  matches = [pattern.match(c) for c in socket.channels if pattern]
              if no_channel or filter(None, matches):
                  handler(request, socket, context, *args)
docs: When an event is sent, run all relevant handlers. Relevant
          handlers are those without a channel pattern when the given
          socket is not subscribed to any particular channel, or the
          handlers with a channel pattern that matches any of the
          channels that the given socket is subscribed to.
  
          In the case of subscribe/unsubscribe, match the channel arg
          being sent to the channel pattern.