Summary
The notifier channel (which rn only sends notifications when a handshake completes) is implemented using an mpsc channel, meaning it supports only a single consumer. By design, that single receiver is already used up by the host implementation (e.g., DefaultHost), so any enclave implementation built on top of Quartz can’t make another receive call.
In practice, though, the behavior is closer to a single producer, multiple consumers. So switching to a broadcast channel would make more sense here.
Summary
The notifier channel (which rn only sends notifications when a handshake completes) is implemented using an
mpscchannel, meaning it supports only a single consumer. By design, that single receiver is already used up by the host implementation (e.g.,DefaultHost), so any enclave implementation built on top of Quartz can’t make another receive call.In practice, though, the behavior is closer to a single producer, multiple consumers. So switching to a
broadcastchannel would make more sense here.