Context.ioThreads

The number of I/O threads.

  1. int ioThreads [@property getter]
    struct Context
    @safe @property
    int
    ioThreads
    ()
  2. int ioThreads [@property setter]

Throws

ZmqException if $(ZMQ) reports an error.

Corresponds to

$(ZMQREF zmq_ctx_get()) and $(ZMQREF zmq_ctx_set()) with ZMQ_IO_THREADS.

Examples

auto ctx = Context();
ctx.ioThreads = 3;
assert (ctx.ioThreads == 3);

Meta