/// <summary> /// Sets the mode and the number of threads on which to run projections. /// </summary> /// <param name="projectionsMode">The mode in which to run the projections system</param> /// <param name="numberOfThreads">The number of threads to use for projections. Defaults to 3.</param> /// <returns>A <see cref="EmbeddedVNodeBuilder"/> with the options set</returns> public EmbeddedVNodeBuilder RunProjections(ProjectionsMode projectionsMode, int numberOfThreads = Opts.ProjectionThreadsDefault) { _projectionsMode = projectionsMode; _projectionsThreads = numberOfThreads; return this; }
/// <summary> /// Sets the mode and the number of threads on which to run projections. /// </summary> /// <param name="projectionsMode">The mode in which to run the projections system</param> /// <param name="numberOfThreads">The number of threads to use for projections. Defaults to 3.</param> /// <returns>A <see cref="EmbeddedVNodeBuilder"/> with the options set</returns> public EmbeddedVNodeBuilder RunProjections(ProjectionsMode projectionsMode, int numberOfThreads = Opts.ProjectionThreadsDefault) { _projectionsMode = projectionsMode; _projectionsThreads = numberOfThreads; return(this); }