Is there a generic notion of asynchronous programming in python? Could I assign a callback to a function, execute it and return to the main program flow immediately, no matter how long the execution of that function would take?
Is there a generic notion of asynchronous programming in python? Could I assign a
Share
Take a look here:
Asynchronous Programming in Python
An Introduction to Asynchronous Programming and Twisted
Worth checking out:
asyncio (previously Tulip) has been checked into the Python default branch
Edited on 14-Mar-2018
Today Python has asyncIO — Asynchronous I/O, event loop, coroutines and tasks built in.
Description taken from the link above:
Also worth checking out:
A guide to asynchronous programming in Python with asyncIO