Hello,

I'm attempting to use the fiber-based blocking programming model that vibe.d provides, but I'm having trouble adapting it to my situation.

I have a singular TCPConnection with a remote server. I send data to the remote server and then wait for some response data on that same connection. The response data typically takes a few seconds to arrive. Sending and receiving data are done in separate fibers. Unfortunately, this means that if I attempt to send data while waiting to receive data, my program generates an exception as the sending fiber cannot acquire the TCPConnection's context (it is in use by the receiving fiber).

I cannot use anything like a ConnectionPool as I'm confined to a singular connection.

Any suggestions?