pub use kernel_start;
use StartOptions;
use crate;
/// Function signature for the Kernel.
///
/// # Arguments
///
/// * `start_options` - The start options defining the components and the behavior of the router.
/// * `inbox` - The inbox channel of the Kernel, every component should send there events for the Kernel to this channel.
/// * `sender_to_scheduler` - The outbox channel for messages for the Scheduler.
///
pub type KernelFn =
fn;
/// The `bootstrap` function is the entrance point of the CERK router.
/// This function starts the Kernel with the help of the scheduler.
/// Later, the Kernel starts all components, and the router starts working.
///
/// # Arguments
///
/// * `start_options` - The start options defining the components and the behavior of the router.
///