Registers a new builder extension.
(&mut self, config: T::Config)
| 105 | |
| 106 | /// Registers a new builder extension. |
| 107 | pub fn install_ext<T: FromExtensionConfig + 'static>(&mut self, config: T::Config) { |
| 108 | self.extensions.push(Box::new(T::from_config(config))); |
| 109 | } |
| 110 | |
| 111 | /// Registers a callback to run after the node has started. |
| 112 | pub fn add_started_callback<F>(&mut self, callback: F) |