pub fn invoke<F>(&self, closure: F)
	where
		F: 'static,
		F: Fn() -> Vec<Value> + Send + Sync,
	{
		let finished = FinishedCallback {
			id: self.id,
			closure: Box::new(closure),
		};
		READY_CALLBACKS.lock().unwrap().push(finished);
	}
/// Queues this callback for execution on next timer tick.
Queues this callback for execution on next timer tick.
Queues this callback for execution on next timer tick .
pub fn invoke<F>(&self, closure: F)
	where
		F: 'static,
		F: Fn() -> Vec<Value> + Send + Sync,
	{
		let finished = FinishedCallback {
			id: self.id,
			closure: Box::new(closure),
		};
		READY_CALLBACKS.lock().unwrap().push(finished);
	}
pub fn invoke < F > ( & self , closure : F ) where F : ' static , F : Fn ( ) -> Vec < Value > + Send + Sync , { let finished = FinishedCallback { id : self . id , closure : Box :: new ( closure ) , } ; READY_CALLBACKS . lock ( ) . unwrap ( ) . push ( finished ) ; }
Queues this callback for execution on next timer tick.
Queues this callback for execution on next timer tick .
&self
closure
F