Add TODO for better ergonomics

This commit is contained in:
JMS55 2023-12-06 18:59:38 -08:00
parent 98178e9ca9
commit c8d1e1d402

View file

@ -4,6 +4,9 @@ use bevy::ecs::{
};
use std::sync::Arc;
// TODO: Can probably make the value stored in the hook the only one that has a Drop unregistering the system,
// and then make the type that lets you schedule the system Copy
#[derive(Clone)]
pub struct DeferredSystem(pub(crate) Arc<DeferredSystemInner>);