Bases: object
Base class for a proactor implemented with posix-style polling.
Handle completion for a request.
Calls the scheduler to run or schedule the associated coroutine.
Perform additional handling (like register the socket file descriptor in the poll, epoll, kqueue, iocp etc) when a token is added in the proactor.
Overriden in a subclass.
Requests an socket operation (in the form of a callable perform that does the actual socket system call) for coro corutine with parameters and completion passed via act.
The socket operation request parameters are passed in act. When request is completed the results will be set in act.
Note: act is usualy a SocketOperation instance and the request_foo calls are usually made from a Foo subclass.
Perform additional handling (like cleanup) when a token is removed from the proactor.
Overriden in a subclass.