Execute a component function with the given input.
| 185 | |
| 186 | /// Execute a component function with the given input. |
| 187 | Expect<std::vector<std::pair<ComponentValVariant, ComponentValType>>> |
| 188 | executeComponent(std::string_view Func, |
| 189 | Span<const ComponentValVariant> Params = {}, |
| 190 | Span<const ComponentValType> ParamTypes = {}) { |
| 191 | std::shared_lock Lock(Mutex); |
| 192 | return unsafeExecuteComponent(Func, Params, ParamTypes); |
| 193 | } |
| 194 | |
| 195 | /// Execute a function of a registered component with the given input. |
| 196 | Expect<std::vector<std::pair<ComponentValVariant, ComponentValType>>> |