enum TransportAffinity
C++
enum class TransportAffinity : int
Where servant dispatch may run relative to the transport I/O thread (SHM ring consumer, TCP read loop, etc.).
include/nprpc/nprpc.hpp:173
Cases
AllowBlockTransport = 0
Prefer the transport thread when there is no DispatchExecutor. Best for extreme low-latency servants that only do cheap work. Default.
include/nprpc/nprpc.hpp:177
NeverBlockTransport = 1
Never run dispatch on the transport thread: always hand off (even without a custom DispatchExecutor). Use for servants that might block, allocate heavily, or touch UI — keeps the ring/read path free.
include/nprpc/nprpc.hpp:182