pub fn new(executor: TaskExecutor) -> Self {
		Subscriptions {
			next_id: Default::default(),
			active_subscriptions: Default::default(),
			executor,
		}
	}
/// Creates new `Subscriptions` object.
Creates new `Subscriptions` object.
Creates new ` Subscriptions ` object .
pub fn new(executor: TaskExecutor) -> Self {
		Subscriptions {
			next_id: Default::default(),
			active_subscriptions: Default::default(),
			executor,
		}
	}
pub fn new ( executor : TaskExecutor ) -> Self { Subscriptions { next_id : Default :: default ( ) , active_subscriptions : Default :: default ( ) , executor , } }
Creates new `Subscriptions` object.
Creates new ` Subscriptions ` object .
executor
TaskExecutor
executor
TaskExecutor