[−][src]Type Definition cerk::kernel::KernelFn
type KernelFn = fn(start_options: StartOptions, inbox: BoxedReceiver, sender_to_scheduler: BoxedSender);
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.