Context.ioThreads

The number of I/O threads.

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

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