sbt/protocol/src/main
Ethan Atkins 43e4fa85e3 Add ctrl+c support thin client
When the user presses ctrl+c, we want to cancel any running tasks that
were initiated by that client. This is a bit tricky because we may not
be sure what is running if the client is in interactive mode. To work
around this, we send a cancellation request with the special id
__CancelAll. When the NetworkChannel receives this request, it cancels
the active task if was initiated by the client that sent the
cancellation request. The result it returns to the client indicates if
there were any tasks to be cancelled. If there were and the client was
in interactive mode, we do not exit. Otherwise we exit.
2020-06-24 19:40:18 -07:00
..
contraband Add virtual terminal support for network clients 2020-06-24 19:38:42 -07:00
contraband-scala/sbt Add virtual terminal support for network clients 2020-06-24 19:38:42 -07:00
scala/sbt Add ctrl+c support thin client 2020-06-24 19:40:18 -07:00