MCPcopy Create free account
hub / github.com/base/base / with_thread_stack_size

Method with_thread_stack_size

crates/utilities/cli/src/runtime.rs:33–36  ·  view source on GitHub ↗

Sets the worker thread stack size (in bytes).

(mut self, size: usize)

Source from the content-addressed store, hash-verified

31
32 /// Sets the worker thread stack size (in bytes).
33 pub const fn with_thread_stack_size(mut self, size: usize) -> Self {
34 self.thread_stack_size = Some(size);
35 self
36 }
37
38 /// Creates a new default tokio multi-thread [Runtime](tokio::runtime::Runtime) with all
39 /// features enabled.

Callers 2

runMethod · 0.80
runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected