Currently simulaqron blocks while waiting for a qubit or an EPR pair. This is because we call Pythons `time.sleep` at [https://github.com/SoftwareQuTech/SimulaQron/blob/bf918480b23bc86327725b5c94806e7208eda44d/cqc/backend/cqcMessageHandler.py#L1027]() and [https://github.com/SoftwareQuTech/SimulaQron/blob/bf918480b23bc86327725b5c94806e7208eda44d/cqc/backend/cqcMessageHandler.py#L1444](). Instead of blocking we can use a similar approach to what we do when connecting, by using twisted `callLater`-functionality, see for example [https://github.com/SoftwareQuTech/SimulaQron/blob/bf918480b23bc86327725b5c94806e7208eda44d/simulaqron/virtNode/virtual.py#L274]().
Currently simulaqron blocks while waiting for a qubit or an EPR pair. This is because we call Pythons
time.sleepat https://github.com/SoftwareQuTech/SimulaQron/blob/bf918480b23bc86327725b5c94806e7208eda44d/cqc/backend/cqcMessageHandler.py#L1027 and https://github.com/SoftwareQuTech/SimulaQron/blob/bf918480b23bc86327725b5c94806e7208eda44d/cqc/backend/cqcMessageHandler.py#L1444. Instead of blocking we can use a similar approach to what we do when connecting, by using twistedcallLater-functionality, see for example https://github.com/SoftwareQuTech/SimulaQron/blob/bf918480b23bc86327725b5c94806e7208eda44d/simulaqron/virtNode/virtual.py#L274.