WIP
This commit is contained in:
parent
409e17ad30
commit
097efdebc5
7 changed files with 79 additions and 52 deletions
|
@ -123,6 +123,7 @@ pub fn register_action<A: Action>() {
|
|||
/// Construct an action based on its name and optional JSON parameters sourced from the keymap.
|
||||
pub fn build_action(name: &str, params: Option<serde_json::Value>) -> Result<Box<dyn Action>> {
|
||||
let lock = ACTION_REGISTRY.read();
|
||||
|
||||
let build_action = lock
|
||||
.builders_by_name
|
||||
.get(name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue