tnn 0.1.3

A quality of life developer tool to interact with Telenor services
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::{collections::HashMap, sync::Arc};
use tokio::sync::Mutex;

use crate::extension::opaque_fn::OpaqueFunctionCall;

pub struct RepositoryContext {
	pub extension_calls: Arc<Mutex<HashMap<&'static str, Arc<OpaqueFunctionCall>>>>,
}

impl RepositoryContext {
	pub fn new(extension_calls: Arc<Mutex<HashMap<&'static str, Arc<OpaqueFunctionCall>>>>) -> Self {
		Self { extension_calls }
	}
}