tnn 0.1.3

A quality of life developer tool to interact with Telenor services
Documentation
use std::sync::Arc;

use tokio::sync::Mutex;

use super::State;

pub struct CallContext<Argument> {
	pub state: Arc<Mutex<State>>,
	pub caller: &'static str,
	pub argument: Argument,
}

impl<Argument> CallContext<Argument> {
	pub fn new(state: Arc<Mutex<State>>, caller: &'static str, argument: Argument) -> Self {
		Self {
			state,
			caller,
			argument,
		}
	}
}