Skip to content

Instantly share code, notes, and snippets.

@Svolcano
Svolcano / protocol_buffers_and_grpc_tutorial.md
Created December 4, 2020 06:56 — forked from doi-t/protocol_buffers_and_grpc_tutorial.md
Protocol Buffers & gRPC Tutorial: Python & Go
async def main():
coroutine1 = do_some_work(1)
coroutine2 = do_some_work(2)
coroutine3 = do_some_work(4)
tasks = [
asyncio.ensure_future(coroutine1),
asyncio.ensure_future(coroutine2),
asyncio.ensure_future(coroutine3)
]