It would be nice to have streaming responses. But, because of the design of the communication between chasm client and server, streaming responses are not trivial. The connection is zmq REQ-ROUTER, so the server only responds to client requests rather than simply broadcasts.
One way might be to redesign the client UI so that responses are async updated to screen in a separate area from the user input. This adds complexity though. The least surprising way might be to lock to user input whilst receiving stream updates.
It would be nice to have streaming responses. But, because of the design of the communication between chasm client and server, streaming responses are not trivial. The connection is zmq REQ-ROUTER, so the server only responds to client requests rather than simply broadcasts.
One way might be to redesign the client UI so that responses are async updated to screen in a separate area from the user input. This adds complexity though. The least surprising way might be to lock to user input whilst receiving stream updates.