Type Definition DynClosure
virtual_node
type DynClosure = Rc<dyn AsRef<JsValue>>;
Box<dyn AsRef>> is our js_sys::Closure. Stored this way to allow us to store any Closure regardless of the arguments.