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]

[src]

Start with manually created components and parameter

The SubscriptionId must be already known

Errors

Nakadion could not be started.

[src]

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

[src]

Returns true if Nakadion is running

[src]

Stops Nakadion

[src]

Block the current thread until Nakadion has stopped

[src]

Block the current thread until Nakadion has stopped.

The state is polled at the given poll_interval.

Trait Implementations

Auto Trait Implementations

impl Send for Nakadion

impl Sync for Nakadion