Implemented commandExecutor logic

This commit is contained in:
2026-01-28 23:33:22 +01:00
parent 63abf41094
commit 1df6cd4c5e
6 changed files with 68 additions and 2 deletions
+2
View File
@@ -5,6 +5,7 @@ use std::{
};
use crate::{
engine::CommandExecutor,
render::DrawContext,
state::{use_effect, HookDependency},
View, ViewWrapper,
@@ -22,6 +23,7 @@ pub struct Context {
event_handlers: Mutex<HashMap<TypeId, Vec<EventHandler>>>,
view: Mutex<View>,
pub(crate) scopes: Mutex<Vec<Arc<Scope>>>,
// executor: Arc<dyn CommandExecutor>,
}
impl Context {