The type of the delegates used to register socket event handlers.
The reason a listener was called.
Types of events that can happen for an asynchronous transport.
Manages one or more asynchronous transport resources (e.g. sockets in the case of TAsyncSocketManager) and allows work items to be submitted for them.
A TAsyncManager providing notificiations for socket events.
A TTransport which uses a TAsyncManager to schedule non-blocking operations.
Defines the interface used for client-side handling of asynchronous I/O operations, based on coroutines.
The main piece of the »client side« (e.g. for TAsyncClient users) of the API is TFuture, which represents an asynchronously executed operation, which can have a return value, throw exceptions, and which can be waited upon.
On the »implementation side«, the idea is that by using a TAsyncTransport instead of a normal TTransport and executing the work through a TAsyncManager, the same code as for synchronous I/O can be used for asynchronous operation as well, for example: