Skip to main content

jellyflow_runtime/runtime/events/
token.rs

1/// Subscription token returned by [`crate::runtime::store::NodeGraphStore::subscribe`].
2#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
3pub struct SubscriptionToken(u64);
4
5impl SubscriptionToken {
6    pub(crate) fn new(raw: u64) -> Self {
7        Self(raw)
8    }
9}