use crate::ecs::prefab::GltfLoadResult;
use nalgebra_glm::Vec3;

pub enum AsyncResult {
    File {
        plugin_id: u64,
        request_id: u64,
        result: std::io::Result<Vec<u8>>,
    },
    Texture {
        plugin_id: u64,
        request_id: u64,
        texture_name: String,
        texture_id: u64,
        result: Result<(Vec<u8>, u32, u32), String>,
    },
    Prefab {
        plugin_id: u64,
        request_id: u64,
        position: Vec3,
        result: Result<GltfLoadResult, String>,
    },
}
