import time
import asyncio
from threading import Thread


async def f():
	for i in range(4, 0, -1):
		print(i)
		await asyncio.sleep(1)
	else:
		print('DONE')
        


def async_from_sync(coro):
	def do_async():
		async def inner():
			await asyncio.create_task(coro())
		asyncio.run(inner())
	t = Thread(target=do_async)
	t.start()
    

def main():
	async_from_sync(f)
	time.sleep(6)  # че-то делаем

	
main()