Function set_default_mailbox_capacity

Source
pub fn set_default_mailbox_capacity(size: usize) -> Result<(), String>
Expand description

Sets the global default buffer size for actor mailboxes.

This function can only be called successfully once. Subsequent calls will return an error. This configured value is used by the spawn function if no specific capacity is provided to spawn_with_mailbox_capacity.