def dispatch(self, event: Event) -> Iterator[Any]:
LOG.debug('<STR_LIT>', event.get("<STR_LIT:type>"))<EOL>if event["<STR_LIT:type>"] in self._routes:<EOL><INDENT>for detail_key, detail_values in self._routes.get(<EOL>event["<STR_LIT:type>"], {}<EOL>).items():<EOL><INDENT>event_value = event.get(detail_key, "<STR_LIT:*>")<EOL>yield from detail_values.get(event_value, [])<EOL><DEDENT><DEDENT>else:<EOL><INDENT>return<EOL><DEDENT>
Yields handlers matching the routing of the incoming :class:`slack.events.Event`.

Args:
    event: :class:`slack.events.Event`

Yields:
    handler