This documentation is for a development version of IPython. There may be significant differences from the latest stable release.
Adapt readline completer interface to make ZMQ request.
Client-side completion machinery.
How it works: self.complete will be called multiple times, with state=0,1,2,... When state=0 it should compute ALL the completion matches, and then return them for each value of state.