[−][src]Trait dendrite::axon_utils::TokenStore
Describes a token store.
A token store can be used to persist markers that indicate the last processed event for each event processor.
Required methods
#[must_use]pub fn store_token<'life0, 'async_trait>(
&'life0 self,
token: i64
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
token: i64
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn retrieve_token<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<i64>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<i64>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,