def METHOD_NAME(self, seed_type='segwit', language='en'):
    self._logger.debug('generating seed of type ' + str(seed_type))
    async def co_gen_seed(seed_type, language):
        self._generated_seed = mnemonic.Mnemonic(language).make_seed(seed_type=seed_type)
        self._logger.debug('seed generated')
        self.generatedSeedChanged.emit()
    asyncio.run_coroutine_threadsafe(co_gen_seed(seed_type, language), get_asyncio_loop())