Function nuts::store_to_domain[][src]

pub fn store_to_domain<D, T>(domain: &D, data: T) where
    D: DomainEnumeration,
    T: Any

Puts the data object to the domain, which can be accessed by all associated activities.

This function stores the data to the domain immediately if called outside of activities. Inside activities, it will be delayed. However, any messages published after calling this function can rely on the store to the domain to have completed when the corresponding subscribers are executed.