Skip to content

Instantly share code, notes, and snippets.

@elijahbenizzy
Created July 5, 2024 22:48
Show Gist options
  • Save elijahbenizzy/a816d49dd6fb9836839d8476130654f0 to your computer and use it in GitHub Desktop.
Save elijahbenizzy/a816d49dd6fb9836839d8476130654f0 to your computer and use it in GitHub Desktop.
async def dont_block_control_flow():
result_1 = await complex_http_call()
result_2 = await complex_system_call(result_1)
return result_2
data_loaded = await dont_block_control_flow()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment