Closed igalic closed 4 years ago
okay, i think i understand now. this is from src/kernel/providers.rs
:
use crate::{
actor::actor_cell::{ActorCell, ExtendedCell},
actor::*,
kernel::{kernel::kernel, mailbox::mailbox},
system::{system::SysActors, ActorSystem, SystemMsg},
validate::validate_name,
};
kernel::kernel::kernel
is really bad, but the doubles aren't much better for understanding the system.
I think it would be better if something like Kernel::new
or KernelRef::new
would be used instead of the kernel
function.
closing since #108 was merged
I feel like these warnings are point towards a structural or architectural issue: