No description
Find a file
Nathaniel Nicandro 80de6579fa Stick to using timers instead of a polling subprocess
I believe I was misunderstanding the use of `zmq-poll` on the file descriptors
in a subprocess. It seems that polling the file descriptors doesn't seem to
work.

Currently I am sticking to running periodic timers in emacs itself to process
messages. This may slow down emacs when connecting to lots of clients that are
receiving and sending lots of messages.

What I would like to move towards is having a subprocess which connects to the
required endpoints and listens for incoming messages. When a message arrives,
it decodes it and sends it back to the parent emacs process. When I would like
to send a message, I just send the raw plist to the subprocess and it encodes
and sends it through the socket. So the subprocess will take care of
encoding/decoding messages and sending/receiving messages on sockets. Whereas
the parent emacs process will send/receive plists.
2017-12-16 18:54:40 -06:00
jupyter-channels.el Silence byte compiler 2017-12-14 13:58:46 -06:00
jupyter-client.el Stick to using timers instead of a polling subprocess 2017-12-16 18:54:40 -06:00
jupyter-messages.el More documentation on variables 2017-12-15 22:29:05 -06:00
jupyter-tests.el Add tests for message callbacks 2017-12-14 13:21:55 -06:00