NNGPoolWorker

{NNGPoolWorker} Worker implements the state machine to process requests coming from the NNGPool instance through (pool socket -> nng_ctx -> worker state) Not to direct use May be declared as private or module scope

struct NNGPoolWorker {
int id;
nng_worker_state state;
NNGMessage msg;
NNGAio aio;
Duration delay;
nng_mtx* mtx;
nng_ctx ctx;
void* context;
File* logfile;
nng_pool_callback cb;
}