/// <summary> /// Initializes a new instance of the <see cref="TesseractPool"/> class. /// </summary> /// <param name="options">The Tesseract options used for all spawned instances.</param> /// <param name="maxPoolSize">Maximum size of the pool.</param> public TesseractPool(TesseractOptions options, int maxPoolSize) => (Options, this.maxPoolSize) = (options, maxPoolSize);
/// <summary> /// Initializes a new instance of the <see cref="TesseractPool"/> class. /// </summary> /// <param name="options">The Tesseract options used for all spawned instances.</param> public TesseractPool(TesseractOptions options) : this(options, DefaultMaxPoolSize) { }