[][src]Function cerk_port_dummies::port_sequence_generator_start

pub fn port_sequence_generator_start(
    id: InternalServerId,
    inbox: BoxedReceiver,
    sender_to_kernel: BoxedSender
)

This port generates a CloudEvent every second (by default) and sends it to the Kernel. This port is for testing!

Env Options

  • GENERATOR_SLEEP_MS define the sleep time between 2 events
  • GENERATOR_AMOUNT define the total amount of events that should be generated

Examples