Using futures with callbacks.
Wrapping Callbacks with Futures
by Anthony Williams
From the article:
Libraries the perform time-consuming operations, or network-based operations, often provide a means of running the task asynchronously, so that your code can continue with other things while this operation is performed in the background...
Add a Comment
Comments are closed.