def METHOD_NAME(self) -> typing.Iterator[channel.Channel]:
    if isinstance(self._board, channel.Channel):
        yield self._board
    else:
        with self._board.ch.borrow() as ch:
            yield ch