Struct nakadion::Nakadion[][src]

pub struct Nakadion { /* fields omitted */ }

This struct represents Nakadion.

Once instatntiated it can only be used query its running state or to stop consuming events.

Methods

impl Nakadion
[src]

Start with manually created components and parameter

The SubscriptionId must be already known

Errors

Nakadion could not be started.

Start with the given configuration and create all interally required components from the configuration

Errors

Nakadion could not be started. This might be due to an invalid configuration

Returns true if Nakadion is running

Stops Nakadion

Block the current thread until Nakadion has stopped

Block the current thread until Nakadion has stopped.

The state is polled at the given poll_interval.

Auto Trait Implementations

impl Send for Nakadion

impl Sync for Nakadion