use shirabe_php_shim::PhpMixed; use super::promise_interface::PromiseInterface; #[derive(Debug)] pub struct Promise; impl Promise { pub fn new( _resolver: Box< dyn FnOnce(Box)>, Box)>), >, ) -> Self { todo!() } } impl PromiseInterface for Promise { fn then( &self, _on_fulfilled: Option) -> Option>>, _on_rejected: Option) -> Option>>, ) -> Box { todo!() } }