async def METHOD_NAME(
    brokermod: str,
    loglevel: str,
) -> None:
    name = brokermod.name
    log.info(f'loading brokerd for {name}..')
    async with (
        maybe_spawn_brokerd(
            name,
            loglevel=loglevel
        ) as portal,
        install_brokerd_search(
            portal,
            brokermod,
        ),
    ):
        # keep search engine stream up until cancelled
        await trio.sleep_forever()