There are two types of API functions:
Asynchronous, non-blocking functions – mostly I/O operations which can be fork out of the main loop.
Synchronous, blocking functions – mostly operations that influence the process running in the main loop.
There are two types of API functions:
Asynchronous, non-blocking functions – mostly I/O operations which can be fork out of the main loop.
Synchronous, blocking functions – mostly operations that influence the process running in the main loop.