Nathaniel Nicandro
9dd45c6f3e
Be consistent with how other channels are stopped
...
Specifically move the `jupyter-channel-alive-p` check into
`jupyter-stop-channel` for the heartbeat channel.
2018-01-06 19:54:40 -06:00
Nathaniel Nicandro
064bf4f031
Add functions to work with a jupyter-channel's
recv-queue`
2018-01-02 13:50:13 -06:00
Nathaniel Nicandro
c7c200d571
Heartbeat channels are implemented with timers instead of a subprocess
2017-12-30 23:32:17 -06:00
Nathaniel Nicandro
46a449c496
Raise error when connecting channel with an unknown channel type
2017-12-22 00:54:18 -06:00
Nathaniel Nicandro
c6445530c7
HB channel process ignores signals
2017-12-22 00:53:18 -06:00
Nathaniel Nicandro
e9f04b20f8
Make the hb channel more efficient
...
Instead of constantly sending the subprocess input on every polling loop, poll
for input on stdin using the poller.
2017-12-19 11:47:45 -06:00
Nathaniel Nicandro
805255e816
New function jupyter-connect-channel
...
This function returns a socket based on a channel type and endpoint. The
channel type is mapped to the required socket type based on
`jupyter-channel-socket-types`. This is a convenience function to avoid having
to use `jupyter-channel-socket-types` directly.
2017-12-17 02:32:28 -06:00
Nathaniel Nicandro
3a3e742f8a
Silence byte compiler
2017-12-14 13:58:46 -06:00
Nathaniel Nicandro
8e7436962b
Fix function name
2017-12-14 13:58:18 -06:00
Nathaniel Nicandro
4e8cfb8bf6
Use lexical-let
only where its needed
2017-12-14 13:58:18 -06:00
Nathaniel Nicandro
76cf1c5eb7
Semi working prototype
2017-12-13 11:27:13 -06:00